diff --git a/.github/workflows/deploy-cpp.yml b/.github/workflows/deploy-cpp.yml index 96fa94b6..36d367b7 100644 --- a/.github/workflows/deploy-cpp.yml +++ b/.github/workflows/deploy-cpp.yml @@ -11,6 +11,6 @@ jobs: main: uses: linksplatform/Workflows/.github/workflows/deploy-cpp.yml@main with: - recipe_folder: "platform.interfaces" + recipe_folder: "platform.abstractions" secrets: NUGET_TOKEN: ${{ secrets.NUGET_TOKEN }} diff --git a/.gitpod.yml b/.gitpod.yml index 53030135..a32378ba 100644 --- a/.gitpod.yml +++ b/.gitpod.yml @@ -7,6 +7,6 @@ tasks: - name: Setup .NET Environment init: | cd csharp - dotnet restore Platform.Interfaces.sln - dotnet build Platform.Interfaces.sln + dotnet restore Platform.Abstractions.sln + dotnet build Platform.Abstractions.sln command: echo ".NET 8 SDK is ready for development" diff --git a/README.md b/README.md index f24c3db9..81588511 100644 --- a/README.md +++ b/README.md @@ -1,28 +1,28 @@ -[![Gitpod](https://img.shields.io/badge/Gitpod-ready--to--code-blue?logo=gitpod)](https://gitpod.io/#https://github.com/linksplatform/Interfaces) +[![Gitpod](https://img.shields.io/badge/Gitpod-ready--to--code-blue?logo=gitpod)](https://gitpod.io/#https://github.com/linksplatform/Abstractions) -[![Codacy Badge](https://api.codacy.com/project/badge/Grade/93857535a2214ba9b512e1a88787d461)](https://app.codacy.com/gh/linksplatform/Interfaces?utm_source=github.com&utm_medium=referral&utm_content=linksplatform/Interfaces&utm_campaign=Badge_Grade_Settings) -[![CodeFactor](https://www.codefactor.io/repository/github/linksplatform/interfaces/badge)](https://www.codefactor.io/repository/github/linksplatform/interfaces) +[![Codacy Badge](https://api.codacy.com/project/badge/Grade/93857535a2214ba9b512e1a88787d461)](https://app.codacy.com/gh/linksplatform/Abstractions?utm_source=github.com&utm_medium=referral&utm_content=linksplatform/Abstractions&utm_campaign=Badge_Grade_Settings) +[![CodeFactor](https://www.codefactor.io/repository/github/linksplatform/abstractions/badge)](https://www.codefactor.io/repository/github/linksplatform/abstractions) -| [![Actions Status](https://github.com/linksplatform/Interfaces/workflows/deploy-cpp/badge.svg)](https://github.com/linksplatform/Interfaces/actions?workflow=deploy-cpp) | [![NuGet Version and Downloads count](https://img.shields.io/nuget/v/Platform.Interfaces.TemplateLibrary?label=nuget&style=flat)](https://www.nuget.org/packages/Platform.Interfaces.TemplateLibrary) [![ConanCenter package](https://repology.org/badge/version-for-repo/conancenter/platform.interfaces.svg)](https://conan.io/center/platform.interfaces) | __C++__ | +| [![Actions Status](https://github.com/linksplatform/Abstractions/workflows/deploy-cpp/badge.svg)](https://github.com/linksplatform/Abstractions/actions?workflow=deploy-cpp) | [![NuGet Version and Downloads count](https://img.shields.io/nuget/v/Platform.Abstractions.TemplateLibrary?label=nuget&style=flat)](https://www.nuget.org/packages/Platform.Abstractions.TemplateLibrary) [![ConanCenter package](https://repology.org/badge/version-for-repo/conancenter/platform.interfaces.svg)](https://conan.io/center/platform.interfaces) | __C++__ | |-|-|-| -| [![Actions Status](https://github.com/linksplatform/Interfaces/workflows/csharp/badge.svg)](https://github.com/linksplatform/Interfaces/actions?workflow=csharp) | [![NuGet Version and Downloads count](https://img.shields.io/nuget/v/Platform.Interfaces?label=nuget&style=flat)](https://www.nuget.org/packages/Platform.Interfaces) | C# | +| [![Actions Status](https://github.com/linksplatform/Abstractions/workflows/csharp/badge.svg)](https://github.com/linksplatform/Abstractions/actions?workflow=csharp) | [![NuGet Version and Downloads count](https://img.shields.io/nuget/v/Platform.Abstractions?label=nuget&style=flat)](https://www.nuget.org/packages/Platform.Abstractions) | C# | -# [Interfaces](https://github.com/linksplatform/Interfaces) +# [Abstractions](https://github.com/linksplatform/Abstractions) -LinksPlatform's Platform.Interfaces Class Library +LinksPlatform's Platform.Abstractions Class Library Contains common interfaces that did not fit in any major category. -Namespace: [Platform.Interfaces](https://linksplatform.github.io/Interfaces/csharp/api/Platform.Interfaces.html) +Namespace: [Platform.Abstractions](https://linksplatform.github.io/Abstractions/csharp/api/Platform.Abstractions.html) Forked from: [Konard/LinksPlatform/Platform/Platform.Helpers](https://github.com/Konard/LinksPlatform/tree/657ea248b32dc31d0793ae9a9e4989ec6ee61d5e/Platform/Platform.Helpers) -NuGet package: [Platform.Interfaces](https://www.nuget.org/packages/Platform.Interfaces) +NuGet package: [Platform.Abstractions](https://www.nuget.org/packages/Platform.Abstractions) -## [Documentation](https://linksplatform.github.io/Interfaces) -* Interface [IFactory\](https://linksplatform.github.io/Interfaces/csharp/api/Platform.Interfaces.IFactory-1.html). +## [Documentation](https://linksplatform.github.io/Abstractions) +* Interface [IFactory\](https://linksplatform.github.io/Abstractions/csharp/api/Platform.Abstractions.IFactory-1.html). -[PDF file](https://linksplatform.github.io/Interfaces/csharp/Platform.Interfaces.pdf) with code for e-readers. +[PDF file](https://linksplatform.github.io/Abstractions/csharp/Platform.Abstractions.pdf) with code for e-readers. ## Dependent libraries * [Platform.Collections](https://github.com/linksplatform/Collections) diff --git a/cpp/CMakeLists.txt b/cpp/CMakeLists.txt index acda0f3c..b290071b 100644 --- a/cpp/CMakeLists.txt +++ b/cpp/CMakeLists.txt @@ -6,7 +6,7 @@ set(LINKS_PLATFORM_EXTRA_FLAGS "" CACHE STRING "Extra compiler flags") set(CONAN_DISABLE_CHECK_COMPILER TRUE) set(LINKS_PLATFORM_TESTS TRUE) -project(Platform.Interfaces CXX) +project(Platform.Abstractions CXX) set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/bin) find_package(GTest) diff --git a/cpp/Platform.Interfaces.Tests/Platform.Interfaces.TemplateLibrary.Tests.vcxproj b/cpp/Platform.Abstractions.Tests/Platform.Abstractions.TemplateLibrary.Tests.vcxproj similarity index 92% rename from cpp/Platform.Interfaces.Tests/Platform.Interfaces.TemplateLibrary.Tests.vcxproj rename to cpp/Platform.Abstractions.Tests/Platform.Abstractions.TemplateLibrary.Tests.vcxproj index fb615cb3..48f1bcf8 100644 --- a/cpp/Platform.Interfaces.Tests/Platform.Interfaces.TemplateLibrary.Tests.vcxproj +++ b/cpp/Platform.Abstractions.Tests/Platform.Abstractions.TemplateLibrary.Tests.vcxproj @@ -22,7 +22,7 @@ 16.0 {8D50757E-6191-4D9D-8B9D-263BC187E785} Win32Proj - PlatformInterfacesTemplateLibraryTests + PlatformAbstractionsTemplateLibraryTests 10.0 NativeUnitTestProject @@ -93,7 +93,7 @@ Level3 Disabled true - ..\Platform.Interfaces;$(VCInstallDir)UnitTest\include;%(AdditionalIncludeDirectories) + ..\Platform.Abstractions;$(VCInstallDir)UnitTest\include;%(AdditionalIncludeDirectories) WIN32;_DEBUG;%(PreprocessorDefinitions) true pch.h @@ -110,7 +110,7 @@ Level3 Disabled true - ..\Platform.Interfaces;$(VCInstallDir)UnitTest\include;%(AdditionalIncludeDirectories) + ..\Platform.Abstractions;$(VCInstallDir)UnitTest\include;%(AdditionalIncludeDirectories) _DEBUG;%(PreprocessorDefinitions) true pch.h @@ -129,7 +129,7 @@ true true true - ..\Platform.Interfaces;$(VCInstallDir)UnitTest\include;%(AdditionalIncludeDirectories) + ..\Platform.Abstractions;$(VCInstallDir)UnitTest\include;%(AdditionalIncludeDirectories) WIN32;NDEBUG;%(PreprocessorDefinitions) true pch.h @@ -150,7 +150,7 @@ true true true - ..\Platform.Interfaces;$(VCInstallDir)UnitTest\include;%(AdditionalIncludeDirectories) + ..\Platform.Abstractions;$(VCInstallDir)UnitTest\include;%(AdditionalIncludeDirectories) NDEBUG;%(PreprocessorDefinitions) true pch.h diff --git a/cpp/Platform.Interfaces.Tests/Platform.Interfaces.TemplateLibrary.Tests.vcxproj.filters b/cpp/Platform.Abstractions.Tests/Platform.Abstractions.TemplateLibrary.Tests.vcxproj.filters similarity index 100% rename from cpp/Platform.Interfaces.Tests/Platform.Interfaces.TemplateLibrary.Tests.vcxproj.filters rename to cpp/Platform.Abstractions.Tests/Platform.Abstractions.TemplateLibrary.Tests.vcxproj.filters diff --git a/cpp/Platform.Interfaces.Tests/Platform.Interfaces.Tests.cpp b/cpp/Platform.Abstractions.Tests/Platform.Abstractions.Tests.cpp similarity index 96% rename from cpp/Platform.Interfaces.Tests/Platform.Interfaces.Tests.cpp rename to cpp/Platform.Abstractions.Tests/Platform.Abstractions.Tests.cpp index c59ac914..d5e04a1d 100644 --- a/cpp/Platform.Interfaces.Tests/Platform.Interfaces.Tests.cpp +++ b/cpp/Platform.Abstractions.Tests/Platform.Abstractions.Tests.cpp @@ -1,7 +1,7 @@ -#include +#include #include -namespace Platform::Interfaces::Tests { +namespace Platform::Abstractions::Tests { TEST(CompileTests, Counter) { struct EmptyCounter1 : ICounter { int Count() { return {}; } @@ -140,4 +140,4 @@ namespace Platform::Interfaces::Tests { ASSERT_TRUE((CSetter)); } } -} // namespace Platform::Interfaces::Tests +} // namespace Platform::Abstractions::Tests diff --git a/cpp/Platform.Interfaces.Tests/pch.cpp b/cpp/Platform.Abstractions.Tests/pch.cpp similarity index 100% rename from cpp/Platform.Interfaces.Tests/pch.cpp rename to cpp/Platform.Abstractions.Tests/pch.cpp diff --git a/cpp/Platform.Interfaces.Tests/pch.h b/cpp/Platform.Abstractions.Tests/pch.h similarity index 93% rename from cpp/Platform.Interfaces.Tests/pch.h rename to cpp/Platform.Abstractions.Tests/pch.h index 39c55dda..1d98db80 100644 --- a/cpp/Platform.Interfaces.Tests/pch.h +++ b/cpp/Platform.Abstractions.Tests/pch.h @@ -9,6 +9,6 @@ // add headers that you want to pre-compile here -#include +#include #endif // PCH_H diff --git a/cpp/Platform.Interfaces/CArray.h b/cpp/Platform.Abstractions/CArray.h similarity index 94% rename from cpp/Platform.Interfaces/CArray.h rename to cpp/Platform.Abstractions/CArray.h index fa68e648..088bdb3d 100644 --- a/cpp/Platform.Interfaces/CArray.h +++ b/cpp/Platform.Abstractions/CArray.h @@ -9,7 +9,7 @@ #include "CEnumerable.h" -namespace Platform::Interfaces { +namespace Platform::Abstractions { namespace Internal { template consteval bool CArrayHelpFunction() { @@ -34,4 +34,4 @@ namespace Platform::Interfaces { template struct Array : Enumerable {}; -} // namespace Platform::Interfaces +} // namespace Platform::Abstractions diff --git a/cpp/Platform.Interfaces/CCounter.h b/cpp/Platform.Abstractions/CCounter.h similarity index 78% rename from cpp/Platform.Interfaces/CCounter.h rename to cpp/Platform.Abstractions/CCounter.h index 587ab248..e005a167 100644 --- a/cpp/Platform.Interfaces/CCounter.h +++ b/cpp/Platform.Abstractions/CCounter.h @@ -2,9 +2,9 @@ #include -namespace Platform::Interfaces { +namespace Platform::Abstractions { template concept CCounter = sizeof...(TArgument) <= 1 && requires(TSelf self, TArgument... argument) { { self.Count(argument...) } -> std::same_as; }; -} // namespace Platform::Interfaces +} // namespace Platform::Abstractions diff --git a/cpp/Platform.Interfaces/CCriterionMatcher.h b/cpp/Platform.Abstractions/CCriterionMatcher.h similarity index 74% rename from cpp/Platform.Interfaces/CCriterionMatcher.h rename to cpp/Platform.Abstractions/CCriterionMatcher.h index 348f42d9..0499e247 100644 --- a/cpp/Platform.Interfaces/CCriterionMatcher.h +++ b/cpp/Platform.Abstractions/CCriterionMatcher.h @@ -2,9 +2,9 @@ #include -namespace Platform::Interfaces { +namespace Platform::Abstractions { template concept CCriterionMatcher = requires(TSelf self, TArgument argument) { { self.IsMatched(argument) } -> std::same_as; }; -} // namespace Platform::Interfaces +} // namespace Platform::Abstractions diff --git a/cpp/Platform.Interfaces/CDictionary.h b/cpp/Platform.Abstractions/CDictionary.h similarity index 97% rename from cpp/Platform.Interfaces/CDictionary.h rename to cpp/Platform.Abstractions/CDictionary.h index ba2857b3..77b27c67 100644 --- a/cpp/Platform.Interfaces/CDictionary.h +++ b/cpp/Platform.Abstractions/CDictionary.h @@ -9,7 +9,7 @@ #include "CEnumerable.h" -namespace Platform::Interfaces { +namespace Platform::Abstractions { namespace Internal { template consteval bool CDictionaryHelpFunction() { @@ -75,4 +75,4 @@ namespace Platform::Interfaces { using Key = decltype(std::get<0>(std::declval())); using Value = decltype(std::get<1>(std::declval())); }; -} // namespace Platform::Interfaces +} // namespace Platform::Abstractions diff --git a/cpp/Platform.Interfaces/CEnumerable.h b/cpp/Platform.Abstractions/CEnumerable.h similarity index 81% rename from cpp/Platform.Interfaces/CEnumerable.h rename to cpp/Platform.Abstractions/CEnumerable.h index 66659ed0..d28e9d23 100644 --- a/cpp/Platform.Interfaces/CEnumerable.h +++ b/cpp/Platform.Abstractions/CEnumerable.h @@ -2,7 +2,7 @@ #include -namespace Platform::Interfaces { +namespace Platform::Abstractions { template concept CEnumerable = std::ranges::range; @@ -12,4 +12,4 @@ namespace Platform::Interfaces { using ItemReference = std::ranges::range_reference_t; using Iter = std::ranges::iterator_t; }; -} // namespace Platform::Interfaces +} // namespace Platform::Abstractions diff --git a/cpp/Platform.Interfaces/CFactory.h b/cpp/Platform.Abstractions/CFactory.h similarity index 71% rename from cpp/Platform.Interfaces/CFactory.h rename to cpp/Platform.Abstractions/CFactory.h index fee54c74..4f7b5f45 100644 --- a/cpp/Platform.Interfaces/CFactory.h +++ b/cpp/Platform.Abstractions/CFactory.h @@ -2,9 +2,9 @@ #include -namespace Platform::Interfaces { +namespace Platform::Abstractions { template concept CFactory = requires(TSelf self) { { self.Create() } -> std::same_as; }; -} // namespace Platform::Interfaces +} // namespace Platform::Abstractions diff --git a/cpp/Platform.Interfaces/CLinkAddress.h b/cpp/Platform.Abstractions/CLinkAddress.h similarity index 82% rename from cpp/Platform.Interfaces/CLinkAddress.h rename to cpp/Platform.Abstractions/CLinkAddress.h index e9624f11..7632b588 100644 --- a/cpp/Platform.Interfaces/CLinkAddress.h +++ b/cpp/Platform.Abstractions/CLinkAddress.h @@ -3,7 +3,7 @@ #include #include -namespace Platform::Interfaces { +namespace Platform::Abstractions { template concept CLinkAddress = std::is_integral::value && std::is_unsigned::value; } diff --git a/cpp/Platform.Interfaces/CList.h b/cpp/Platform.Abstractions/CList.h similarity index 95% rename from cpp/Platform.Interfaces/CList.h rename to cpp/Platform.Abstractions/CList.h index a4ab17ac..1f5beb5b 100644 --- a/cpp/Platform.Interfaces/CList.h +++ b/cpp/Platform.Abstractions/CList.h @@ -9,7 +9,7 @@ #include "CArray.h" #include "CEnumerable.h" -namespace Platform::Interfaces { +namespace Platform::Abstractions { namespace Internal { template consteval bool CListHelpFunction() { @@ -43,4 +43,4 @@ namespace Platform::Interfaces { template struct List : Enumerable {}; -} // namespace Platform::Interfaces +} // namespace Platform::Abstractions diff --git a/cpp/Platform.Interfaces/CProperties.h b/cpp/Platform.Abstractions/CProperties.h similarity index 82% rename from cpp/Platform.Interfaces/CProperties.h rename to cpp/Platform.Abstractions/CProperties.h index fb372e03..f64b480b 100644 --- a/cpp/Platform.Interfaces/CProperties.h +++ b/cpp/Platform.Abstractions/CProperties.h @@ -2,11 +2,11 @@ #include -namespace Platform::Interfaces { +namespace Platform::Abstractions { template concept CProperties = requires(TSelf self, TObject object, TProperty property, TValue value) { { self.GetValue(object, property) } -> std::same_as; { self.SetValue(object, property, value) } -> std::same_as; }; -} // namespace Platform::Interfaces +} // namespace Platform::Abstractions diff --git a/cpp/Platform.Interfaces/CProperty.h b/cpp/Platform.Abstractions/CProperty.h similarity index 86% rename from cpp/Platform.Interfaces/CProperty.h rename to cpp/Platform.Abstractions/CProperty.h index 532058e1..92440f8e 100644 --- a/cpp/Platform.Interfaces/CProperty.h +++ b/cpp/Platform.Abstractions/CProperty.h @@ -3,7 +3,7 @@ #include "CProvider.h" #include "CSetter.h" -namespace Platform::Interfaces { +namespace Platform::Abstractions { template concept CProperty = CSetter && CProvider; } diff --git a/cpp/Platform.Interfaces/CProvider.h b/cpp/Platform.Abstractions/CProvider.h similarity index 78% rename from cpp/Platform.Interfaces/CProvider.h rename to cpp/Platform.Abstractions/CProvider.h index a68711f3..c7dbbb12 100644 --- a/cpp/Platform.Interfaces/CProvider.h +++ b/cpp/Platform.Abstractions/CProvider.h @@ -2,9 +2,9 @@ #include -namespace Platform::Interfaces { +namespace Platform::Abstractions { template concept CProvider = sizeof...(TArgument) <= 1 && requires(TSelf self, TArgument... argument) { { self.Get(argument...) } -> std::same_as; }; -} // namespace Platform::Interfaces +} // namespace Platform::Abstractions diff --git a/cpp/Platform.Interfaces/CSet.h b/cpp/Platform.Abstractions/CSet.h similarity index 95% rename from cpp/Platform.Interfaces/CSet.h rename to cpp/Platform.Abstractions/CSet.h index 7f9bceb8..ca2ec393 100644 --- a/cpp/Platform.Interfaces/CSet.h +++ b/cpp/Platform.Abstractions/CSet.h @@ -7,7 +7,7 @@ #include "CEnumerable.h" -namespace Platform::Interfaces { +namespace Platform::Abstractions { namespace Internal { template consteval bool CSetHelpFunction() { @@ -50,4 +50,4 @@ namespace Platform::Interfaces { template struct Set : Enumerable {}; -} // namespace Platform::Interfaces +} // namespace Platform::Abstractions diff --git a/cpp/Platform.Interfaces/CSetter.h b/cpp/Platform.Abstractions/CSetter.h similarity index 79% rename from cpp/Platform.Interfaces/CSetter.h rename to cpp/Platform.Abstractions/CSetter.h index 72125d16..949b5400 100644 --- a/cpp/Platform.Interfaces/CSetter.h +++ b/cpp/Platform.Abstractions/CSetter.h @@ -2,9 +2,9 @@ #include -namespace Platform::Interfaces { +namespace Platform::Abstractions { template concept CSetter = sizeof...(TArgument) <= 1 && requires(TSelf self, TArgument... argument, TValue value) { { self.Set(argument..., value) } -> std::same_as; }; -} // namespace Platform::Interfaces +} // namespace Platform::Abstractions diff --git a/cpp/Platform.Interfaces/Decorated.h b/cpp/Platform.Abstractions/Decorated.h similarity index 87% rename from cpp/Platform.Interfaces/Decorated.h rename to cpp/Platform.Abstractions/Decorated.h index 773448fc..e6fba817 100644 --- a/cpp/Platform.Interfaces/Decorated.h +++ b/cpp/Platform.Abstractions/Decorated.h @@ -2,11 +2,11 @@ #include "Macros.h" -namespace Platform::Interfaces { +namespace Platform::Abstractions { template typename TFirstDecorator, template typename... TDecorators> struct Decorated : public DecoratedBase, TDecorated, TFirstDecorator, TDecorators...> { using base = DecoratedBase, TDecorated, TFirstDecorator, TDecorators...>; USE_ALL_BASE_CONSTRUCTORS(Decorated, base) }; -} // namespace Platform::Interfaces +} // namespace Platform::Abstractions diff --git a/cpp/Platform.Interfaces/DecoratedBase.h b/cpp/Platform.Abstractions/DecoratedBase.h similarity index 86% rename from cpp/Platform.Interfaces/DecoratedBase.h rename to cpp/Platform.Abstractions/DecoratedBase.h index e274a854..490e87ea 100644 --- a/cpp/Platform.Interfaces/DecoratedBase.h +++ b/cpp/Platform.Abstractions/DecoratedBase.h @@ -2,11 +2,11 @@ #include "Macros.h" -namespace Platform::Interfaces { +namespace Platform::Abstractions { template typename TFirstDecorator, template typename... TDecorators> struct DecoratedBase : public DECORATED_BASE_TYPE(DecoratedBase, TFacade, TDecorated, TFirstDecorator, TDecorators) { using base = DECORATED_BASE_TYPE(DecoratedBase, TFacade, TDecorated, TFirstDecorator, TDecorators); USE_ALL_BASE_CONSTRUCTORS(DecoratedBase, base) }; -} // namespace Platform::Interfaces +} // namespace Platform::Abstractions diff --git a/cpp/Platform.Interfaces/DecoratorBase.h b/cpp/Platform.Abstractions/DecoratorBase.h similarity index 80% rename from cpp/Platform.Interfaces/DecoratorBase.h rename to cpp/Platform.Abstractions/DecoratorBase.h index 98488e78..3a166aab 100644 --- a/cpp/Platform.Interfaces/DecoratorBase.h +++ b/cpp/Platform.Abstractions/DecoratorBase.h @@ -2,7 +2,7 @@ #include "Macros.h" -namespace Platform::Interfaces { +namespace Platform::Abstractions { template struct DecoratorBase : public TDecorated { USE_ALL_BASE_CONSTRUCTORS(DecoratorBase, TDecorated) @@ -10,4 +10,4 @@ namespace Platform::Interfaces { THIS_REFERENCE_WRAPPER_METHODS(decorated, TDecorated) THIS_REFERENCE_WRAPPER_METHODS(facade, TFacade) }; -} // namespace Platform::Interfaces +} // namespace Platform::Abstractions diff --git a/cpp/Platform.Interfaces/Extended.h b/cpp/Platform.Abstractions/Extended.h similarity index 80% rename from cpp/Platform.Interfaces/Extended.h rename to cpp/Platform.Abstractions/Extended.h index da763ee2..c928f746 100644 --- a/cpp/Platform.Interfaces/Extended.h +++ b/cpp/Platform.Abstractions/Extended.h @@ -3,7 +3,7 @@ #include "ExtendedBase.h" #include "Macros.h" -namespace Platform::Interfaces { +namespace Platform::Abstractions { template typename TFirstExtender, template typename... TExtenders> class Extended : public EXTENDED_BASE_TYPE(Extended, ExtendedBase, TExtendable, TFirstExtender, TExtenders) {}; -} // namespace Platform::Interfaces +} // namespace Platform::Abstractions diff --git a/cpp/Platform.Interfaces/ExtendedBase.h b/cpp/Platform.Abstractions/ExtendedBase.h similarity index 70% rename from cpp/Platform.Interfaces/ExtendedBase.h rename to cpp/Platform.Abstractions/ExtendedBase.h index 1a5c0b5d..ee74ae80 100644 --- a/cpp/Platform.Interfaces/ExtendedBase.h +++ b/cpp/Platform.Abstractions/ExtendedBase.h @@ -2,9 +2,9 @@ #include "Macros.h" -namespace Platform::Interfaces { +namespace Platform::Abstractions { template struct ExtendedBase : public TExtendable { THIS_REFERENCE_WRAPPER_METHODS(extended, TExtendable) }; -} // namespace Platform::Interfaces +} // namespace Platform::Abstractions diff --git a/cpp/Platform.Interfaces/ExtendedContainer.h b/cpp/Platform.Abstractions/ExtendedContainer.h similarity index 81% rename from cpp/Platform.Interfaces/ExtendedContainer.h rename to cpp/Platform.Abstractions/ExtendedContainer.h index 707f8ada..7ad6edc4 100644 --- a/cpp/Platform.Interfaces/ExtendedContainer.h +++ b/cpp/Platform.Abstractions/ExtendedContainer.h @@ -3,7 +3,7 @@ #include "ExtendedContainerBase.h" #include "Macros.h" -namespace Platform::Interfaces { +namespace Platform::Abstractions { template typename TFirstExtender, template typename... TExtenders> class ExtendedContainer : public EXTENDED_BASE_TYPE(ExtendedContainer, ExtendedContainerBase, TExtendable, TFirstExtender, TExtenders) {}; -} // namespace Platform::Interfaces +} // namespace Platform::Abstractions diff --git a/cpp/Platform.Interfaces/ExtendedContainerBase.h b/cpp/Platform.Abstractions/ExtendedContainerBase.h similarity index 74% rename from cpp/Platform.Interfaces/ExtendedContainerBase.h rename to cpp/Platform.Abstractions/ExtendedContainerBase.h index 87f1eb08..2e23fda6 100644 --- a/cpp/Platform.Interfaces/ExtendedContainerBase.h +++ b/cpp/Platform.Abstractions/ExtendedContainerBase.h @@ -2,7 +2,7 @@ #include "Macros.h" -namespace Platform::Interfaces { +namespace Platform::Abstractions { template class ExtendedContainerBase { public: @@ -11,4 +11,4 @@ namespace Platform::Interfaces { protected: TExtendable extendable; }; -} // namespace Platform::Interfaces +} // namespace Platform::Abstractions diff --git a/cpp/Platform.Interfaces/ExtendedReference.h b/cpp/Platform.Abstractions/ExtendedReference.h similarity index 87% rename from cpp/Platform.Interfaces/ExtendedReference.h rename to cpp/Platform.Abstractions/ExtendedReference.h index 9313f67b..7012d270 100644 --- a/cpp/Platform.Interfaces/ExtendedReference.h +++ b/cpp/Platform.Abstractions/ExtendedReference.h @@ -3,7 +3,7 @@ #include "ExtendedReferenceBase.h" #include "Macros.h" -namespace Platform::Interfaces { +namespace Platform::Abstractions { template typename TFirstExtender, template typename... TExtenders> class ExtendedReference : public EXTENDED_BASE_TYPE(ExtendedReference, ExtendedReferenceBase, TExtendable, TFirstExtender, TExtenders) { using base = EXTENDED_BASE_TYPE(ExtendedReference, ExtendedReferenceBase, TExtendable, TFirstExtender, TExtenders); @@ -11,4 +11,4 @@ namespace Platform::Interfaces { public: USE_ALL_BASE_CONSTRUCTORS(ExtendedReference, base) }; -} // namespace Platform::Interfaces +} // namespace Platform::Abstractions diff --git a/cpp/Platform.Interfaces/ExtendedReferenceBase.h b/cpp/Platform.Abstractions/ExtendedReferenceBase.h similarity index 79% rename from cpp/Platform.Interfaces/ExtendedReferenceBase.h rename to cpp/Platform.Abstractions/ExtendedReferenceBase.h index ecd077f3..41696203 100644 --- a/cpp/Platform.Interfaces/ExtendedReferenceBase.h +++ b/cpp/Platform.Abstractions/ExtendedReferenceBase.h @@ -2,7 +2,7 @@ #include "Macros.h" -namespace Platform::Interfaces { +namespace Platform::Abstractions { template class ExtendedReferenceBase { public: @@ -13,4 +13,4 @@ namespace Platform::Interfaces { protected: TExtendable& extendable; }; -} // namespace Platform::Interfaces +} // namespace Platform::Abstractions diff --git a/cpp/Platform.Interfaces/ICounter[TResult, TArgument].h b/cpp/Platform.Abstractions/ICounter[TResult, TArgument].h similarity index 76% rename from cpp/Platform.Interfaces/ICounter[TResult, TArgument].h rename to cpp/Platform.Abstractions/ICounter[TResult, TArgument].h index 0009155f..bef49700 100644 --- a/cpp/Platform.Interfaces/ICounter[TResult, TArgument].h +++ b/cpp/Platform.Abstractions/ICounter[TResult, TArgument].h @@ -1,6 +1,6 @@ #pragma once -namespace Platform::Interfaces { +namespace Platform::Abstractions { template struct ICounter; @@ -10,4 +10,4 @@ namespace Platform::Interfaces { virtual ~ICounter() = default; }; -} // namespace Platform::Interfaces +} // namespace Platform::Abstractions diff --git a/cpp/Platform.Interfaces/ICounter[TResult].h b/cpp/Platform.Abstractions/ICounter[TResult].h similarity index 72% rename from cpp/Platform.Interfaces/ICounter[TResult].h rename to cpp/Platform.Abstractions/ICounter[TResult].h index 44db5464..1223c7af 100644 --- a/cpp/Platform.Interfaces/ICounter[TResult].h +++ b/cpp/Platform.Abstractions/ICounter[TResult].h @@ -1,6 +1,6 @@ #pragma once -namespace Platform::Interfaces { +namespace Platform::Abstractions { template struct ICounter; @@ -10,4 +10,4 @@ namespace Platform::Interfaces { virtual ~ICounter() = default; }; -} // namespace Platform::Interfaces +} // namespace Platform::Abstractions diff --git a/cpp/Platform.Interfaces/ICriterionMatcher.h b/cpp/Platform.Abstractions/ICriterionMatcher.h similarity index 76% rename from cpp/Platform.Interfaces/ICriterionMatcher.h rename to cpp/Platform.Abstractions/ICriterionMatcher.h index a2fc4784..5c20304a 100644 --- a/cpp/Platform.Interfaces/ICriterionMatcher.h +++ b/cpp/Platform.Abstractions/ICriterionMatcher.h @@ -1,6 +1,6 @@ #pragma once -namespace Platform::Interfaces { +namespace Platform::Abstractions { template struct ICriterionMatcher; @@ -10,4 +10,4 @@ namespace Platform::Interfaces { virtual ~ICriterionMatcher() = default; }; -} // namespace Platform::Interfaces +} // namespace Platform::Abstractions diff --git a/cpp/Platform.Interfaces/IFactory.h b/cpp/Platform.Abstractions/IFactory.h similarity index 72% rename from cpp/Platform.Interfaces/IFactory.h rename to cpp/Platform.Abstractions/IFactory.h index 5d7c6b38..be67f25a 100644 --- a/cpp/Platform.Interfaces/IFactory.h +++ b/cpp/Platform.Abstractions/IFactory.h @@ -1,6 +1,6 @@ #pragma once -namespace Platform::Interfaces { +namespace Platform::Abstractions { template struct IFactory; @@ -10,4 +10,4 @@ namespace Platform::Interfaces { virtual ~IFactory() = default; }; -} // namespace Platform::Interfaces +} // namespace Platform::Abstractions diff --git a/cpp/Platform.Interfaces/IProperties.h b/cpp/Platform.Abstractions/IProperties.h similarity index 83% rename from cpp/Platform.Interfaces/IProperties.h rename to cpp/Platform.Abstractions/IProperties.h index ff0871c5..e13f845a 100644 --- a/cpp/Platform.Interfaces/IProperties.h +++ b/cpp/Platform.Abstractions/IProperties.h @@ -1,6 +1,6 @@ #pragma once -namespace Platform::Interfaces { +namespace Platform::Abstractions { template struct IProperties; @@ -12,4 +12,4 @@ namespace Platform::Interfaces { virtual ~IProperties() = default; }; -} // namespace Platform::Interfaces +} // namespace Platform::Abstractions diff --git a/cpp/Platform.Interfaces/IProperty.h b/cpp/Platform.Abstractions/IProperty.h similarity index 81% rename from cpp/Platform.Interfaces/IProperty.h rename to cpp/Platform.Abstractions/IProperty.h index f36e9e9b..edfbbad9 100644 --- a/cpp/Platform.Interfaces/IProperty.h +++ b/cpp/Platform.Abstractions/IProperty.h @@ -3,7 +3,7 @@ #include "IProvider[TProvided, TArgument].h" #include "ISetter[TValue, TArgument].h" -namespace Platform::Interfaces { +namespace Platform::Abstractions { template struct IProperty; @@ -11,4 +11,4 @@ namespace Platform::Interfaces { struct IProperty : public ISetter, IProvider { virtual ~IProperty() = default; }; -} // namespace Platform::Interfaces +} // namespace Platform::Abstractions diff --git a/cpp/Platform.Interfaces/IProvider[TProvided, TArgument].h b/cpp/Platform.Abstractions/IProvider[TProvided, TArgument].h similarity index 77% rename from cpp/Platform.Interfaces/IProvider[TProvided, TArgument].h rename to cpp/Platform.Abstractions/IProvider[TProvided, TArgument].h index 119cadca..e31485a9 100644 --- a/cpp/Platform.Interfaces/IProvider[TProvided, TArgument].h +++ b/cpp/Platform.Abstractions/IProvider[TProvided, TArgument].h @@ -1,6 +1,6 @@ #pragma once -namespace Platform::Interfaces { +namespace Platform::Abstractions { template struct IProvider; @@ -10,4 +10,4 @@ namespace Platform::Interfaces { virtual ~IProvider() = default; }; -} // namespace Platform::Interfaces +} // namespace Platform::Abstractions diff --git a/cpp/Platform.Interfaces/IProvider[TProvided].h b/cpp/Platform.Abstractions/IProvider[TProvided].h similarity index 73% rename from cpp/Platform.Interfaces/IProvider[TProvided].h rename to cpp/Platform.Abstractions/IProvider[TProvided].h index 2f035f3d..45b43f0b 100644 --- a/cpp/Platform.Interfaces/IProvider[TProvided].h +++ b/cpp/Platform.Abstractions/IProvider[TProvided].h @@ -1,6 +1,6 @@ #pragma once -namespace Platform::Interfaces { +namespace Platform::Abstractions { template struct IProvider; @@ -10,4 +10,4 @@ namespace Platform::Interfaces { virtual ~IProvider() = default; }; -} // namespace Platform::Interfaces +} // namespace Platform::Abstractions diff --git a/cpp/Platform.Interfaces/ISetter[TValue, TArgument].h b/cpp/Platform.Abstractions/ISetter[TValue, TArgument].h similarity index 77% rename from cpp/Platform.Interfaces/ISetter[TValue, TArgument].h rename to cpp/Platform.Abstractions/ISetter[TValue, TArgument].h index 52ed8b97..0943b58d 100644 --- a/cpp/Platform.Interfaces/ISetter[TValue, TArgument].h +++ b/cpp/Platform.Abstractions/ISetter[TValue, TArgument].h @@ -1,6 +1,6 @@ #pragma once -namespace Platform::Interfaces { +namespace Platform::Abstractions { template struct ISetter; @@ -10,4 +10,4 @@ namespace Platform::Interfaces { virtual ~ISetter() = default; }; -} // namespace Platform::Interfaces +} // namespace Platform::Abstractions diff --git a/cpp/Platform.Interfaces/ISetter[TValue].h b/cpp/Platform.Abstractions/ISetter[TValue].h similarity index 72% rename from cpp/Platform.Interfaces/ISetter[TValue].h rename to cpp/Platform.Abstractions/ISetter[TValue].h index a893933a..1c4e78ca 100644 --- a/cpp/Platform.Interfaces/ISetter[TValue].h +++ b/cpp/Platform.Abstractions/ISetter[TValue].h @@ -1,6 +1,6 @@ #pragma once -namespace Platform::Interfaces { +namespace Platform::Abstractions { template struct ISetter; @@ -10,4 +10,4 @@ namespace Platform::Interfaces { virtual ~ISetter() = default; }; -} // namespace Platform::Interfaces +} // namespace Platform::Abstractions diff --git a/cpp/Platform.Interfaces/Macros.h b/cpp/Platform.Abstractions/Macros.h similarity index 95% rename from cpp/Platform.Interfaces/Macros.h rename to cpp/Platform.Abstractions/Macros.h index 061b5e0b..8efce73d 100644 --- a/cpp/Platform.Interfaces/Macros.h +++ b/cpp/Platform.Abstractions/Macros.h @@ -4,7 +4,7 @@ #include #include -namespace Platform::Interfaces { +namespace Platform::Abstractions { #define THIS_REFERENCE_WRAPPER_METHODS(MethodName, TWrapped) \ constexpr auto&& MethodName()& { return static_cast(*this); } \ constexpr auto&& MethodName()&& { return static_cast(*this); } \ @@ -27,4 +27,4 @@ namespace Platform::Interfaces { #define DIRECT_METHOD_CALL(TClass, Object, MethodName, ...) (std::is_abstract::value ? Object.MethodName(__VA_ARGS__) : Object.TClass::MethodName(__VA_ARGS__)) -} // namespace Platform::Interfaces +} // namespace Platform::Abstractions diff --git a/cpp/Platform.Interfaces/Platform.Interfaces.TemplateLibrary.nuspec b/cpp/Platform.Abstractions/Platform.Abstractions.TemplateLibrary.nuspec similarity index 56% rename from cpp/Platform.Interfaces/Platform.Interfaces.TemplateLibrary.nuspec rename to cpp/Platform.Abstractions/Platform.Abstractions.TemplateLibrary.nuspec index ac432092..92b0529f 100644 --- a/cpp/Platform.Interfaces/Platform.Interfaces.TemplateLibrary.nuspec +++ b/cpp/Platform.Abstractions/Platform.Abstractions.TemplateLibrary.nuspec @@ -1,19 +1,19 @@  - Platform.Interfaces.TemplateLibrary - LinksPlatform's Platform.Interfaces Template Library - LinksPlatform's Platform.Interfaces is a Template Library what contains common concepts templates. - LinksPlatform's Platform.Interfaces is a Template Library what contains set of C++ concepts templates. Use Platform.Interfaces.h file to include the library. + Platform.Abstractions.TemplateLibrary + LinksPlatform's Platform.Abstractions Template Library + LinksPlatform's Platform.Abstractions is a Template Library what contains common concepts templates. + LinksPlatform's Platform.Abstractions is a Template Library what contains set of C++ concepts templates. Use Platform.Abstractions.h file to include the library. Test release for automatic deploy system. 0.3.42 konard, uselessgoddess, Mitron57 konard, uselessgoddess, Mitron57 konard, uselessgoddess, Mitron57 - https://linksplatform.github.io/Interfaces - + https://linksplatform.github.io/Abstractions + images/icon.png - C++ Native Interfaces + C++ Native Abstractions Unlicense false diff --git a/cpp/Platform.Interfaces/Platform.Interfaces.TemplateLibrary.vcxproj b/cpp/Platform.Abstractions/Platform.Abstractions.TemplateLibrary.vcxproj similarity index 98% rename from cpp/Platform.Interfaces/Platform.Interfaces.TemplateLibrary.vcxproj rename to cpp/Platform.Abstractions/Platform.Abstractions.TemplateLibrary.vcxproj index e52d17dc..ea3b2b29 100644 --- a/cpp/Platform.Interfaces/Platform.Interfaces.TemplateLibrary.vcxproj +++ b/cpp/Platform.Abstractions/Platform.Abstractions.TemplateLibrary.vcxproj @@ -21,7 +21,7 @@ 16.0 {9E967B6A-E518-4A44-ABC6-3162C0D8F3A4} - PlatformInterfacesTemplateLibrary + PlatformAbstractionsTemplateLibrary 10.0 @@ -152,7 +152,7 @@ - + diff --git a/cpp/Platform.Interfaces/Platform.Interfaces.TemplateLibrary.vcxproj.filters b/cpp/Platform.Abstractions/Platform.Abstractions.TemplateLibrary.vcxproj.filters similarity index 97% rename from cpp/Platform.Interfaces/Platform.Interfaces.TemplateLibrary.vcxproj.filters rename to cpp/Platform.Abstractions/Platform.Abstractions.TemplateLibrary.vcxproj.filters index 2565dc4e..2131644d 100644 --- a/cpp/Platform.Interfaces/Platform.Interfaces.TemplateLibrary.vcxproj.filters +++ b/cpp/Platform.Abstractions/Platform.Abstractions.TemplateLibrary.vcxproj.filters @@ -45,7 +45,7 @@ Header Files - + Header Files diff --git a/cpp/Platform.Interfaces/Platform.Interfaces.h b/cpp/Platform.Abstractions/Platform.Abstractions.h similarity index 100% rename from cpp/Platform.Interfaces/Platform.Interfaces.h rename to cpp/Platform.Abstractions/Platform.Abstractions.h diff --git a/cpp/Platform.Interfaces/Polymorph.h b/cpp/Platform.Abstractions/Polymorph.h similarity index 71% rename from cpp/Platform.Interfaces/Polymorph.h rename to cpp/Platform.Abstractions/Polymorph.h index e182ffe6..02707f95 100644 --- a/cpp/Platform.Interfaces/Polymorph.h +++ b/cpp/Platform.Abstractions/Polymorph.h @@ -2,10 +2,10 @@ #include "Macros.h" -namespace Platform::Interfaces { +namespace Platform::Abstractions { template class Polymorph : public TBase... { protected: THIS_REFERENCE_WRAPPER_METHODS(object, TSelf) }; -} // namespace Platform::Interfaces +} // namespace Platform::Abstractions diff --git a/csharp/Platform.Interfaces.Tests/InterfacesTests.cs b/csharp/Platform.Abstractions.Tests/InterfacesTests.cs similarity index 94% rename from csharp/Platform.Interfaces.Tests/InterfacesTests.cs rename to csharp/Platform.Abstractions.Tests/InterfacesTests.cs index ecd9b4d1..40fd6db3 100644 --- a/csharp/Platform.Interfaces.Tests/InterfacesTests.cs +++ b/csharp/Platform.Abstractions.Tests/InterfacesTests.cs @@ -3,7 +3,7 @@ #pragma warning disable CS0168 // Variable is declared but never used #pragma warning disable CS0219 // Variable is assigned but its value is never used -namespace Platform.Interfaces.Tests +namespace Platform.Abstractions.Tests { public static class InterfacesTests { diff --git a/csharp/Platform.Interfaces.Tests/Platform.Interfaces.Tests.csproj b/csharp/Platform.Abstractions.Tests/Platform.Abstractions.Tests.csproj similarity index 90% rename from csharp/Platform.Interfaces.Tests/Platform.Interfaces.Tests.csproj rename to csharp/Platform.Abstractions.Tests/Platform.Abstractions.Tests.csproj index 3402b333..580b312a 100644 --- a/csharp/Platform.Interfaces.Tests/Platform.Interfaces.Tests.csproj +++ b/csharp/Platform.Abstractions.Tests/Platform.Abstractions.Tests.csproj @@ -19,7 +19,7 @@ - + diff --git a/csharp/Platform.Interfaces.sln b/csharp/Platform.Abstractions.sln similarity index 88% rename from csharp/Platform.Interfaces.sln rename to csharp/Platform.Abstractions.sln index 669bc678..8c8cee6e 100644 --- a/csharp/Platform.Interfaces.sln +++ b/csharp/Platform.Abstractions.sln @@ -2,9 +2,9 @@ # Visual Studio Version 16 VisualStudioVersion = 16.0.29020.237 MinimumVisualStudioVersion = 10.0.40219.1 -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Platform.Interfaces", "Platform.Interfaces\Platform.Interfaces.csproj", "{09965104-88E9-43E6-B48E-BC80A562A3BA}" +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Platform.Abstractions", "Platform.Abstractions\Platform.Abstractions.csproj", "{09965104-88E9-43E6-B48E-BC80A562A3BA}" EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Platform.Interfaces.Tests", "Platform.Interfaces.Tests\Platform.Interfaces.Tests.csproj", "{018E3270-DD1C-471C-94D5-3769FC136645}" +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Platform.Abstractions.Tests", "Platform.Abstractions.Tests\Platform.Abstractions.Tests.csproj", "{018E3270-DD1C-471C-94D5-3769FC136645}" EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution diff --git a/csharp/Platform.Interfaces.sln.DotSettings b/csharp/Platform.Abstractions.sln.DotSettings similarity index 100% rename from csharp/Platform.Interfaces.sln.DotSettings rename to csharp/Platform.Abstractions.sln.DotSettings diff --git a/csharp/Platform.Interfaces/ICli.cs b/csharp/Platform.Abstractions/ICli.cs similarity index 96% rename from csharp/Platform.Interfaces/ICli.cs rename to csharp/Platform.Abstractions/ICli.cs index 634026a2..6edce58a 100644 --- a/csharp/Platform.Interfaces/ICli.cs +++ b/csharp/Platform.Abstractions/ICli.cs @@ -1,4 +1,4 @@ -namespace Platform.Interfaces; +namespace Platform.Abstractions; /// /// Defines command line interfaces for command that interacts with an operating system. diff --git a/csharp/Platform.Interfaces/ICounter[TResult, TArgument].cs b/csharp/Platform.Abstractions/ICounter[TResult, TArgument].cs similarity index 97% rename from csharp/Platform.Interfaces/ICounter[TResult, TArgument].cs rename to csharp/Platform.Abstractions/ICounter[TResult, TArgument].cs index 5754ff9a..192801dd 100644 --- a/csharp/Platform.Interfaces/ICounter[TResult, TArgument].cs +++ b/csharp/Platform.Abstractions/ICounter[TResult, TArgument].cs @@ -1,4 +1,4 @@ -namespace Platform.Interfaces +namespace Platform.Abstractions { /// /// Defines a counter that requires an argument to perform a count. diff --git a/csharp/Platform.Interfaces/ICounter[TResult].cs b/csharp/Platform.Abstractions/ICounter[TResult].cs similarity index 95% rename from csharp/Platform.Interfaces/ICounter[TResult].cs rename to csharp/Platform.Abstractions/ICounter[TResult].cs index 23b78ab4..21705267 100644 --- a/csharp/Platform.Interfaces/ICounter[TResult].cs +++ b/csharp/Platform.Abstractions/ICounter[TResult].cs @@ -1,4 +1,4 @@ -namespace Platform.Interfaces +namespace Platform.Abstractions { /// /// Defines a counter. diff --git a/csharp/Platform.Interfaces/ICriterionMatcher.cs b/csharp/Platform.Abstractions/ICriterionMatcher.cs similarity index 97% rename from csharp/Platform.Interfaces/ICriterionMatcher.cs rename to csharp/Platform.Abstractions/ICriterionMatcher.cs index 68928362..41157a0a 100644 --- a/csharp/Platform.Interfaces/ICriterionMatcher.cs +++ b/csharp/Platform.Abstractions/ICriterionMatcher.cs @@ -1,4 +1,4 @@ -namespace Platform.Interfaces +namespace Platform.Abstractions { /// /// Defines a criterion matcher, that contains a specific method for determining whether the argument matches the criterion or not. diff --git a/csharp/Platform.Interfaces/IFactory.cs b/csharp/Platform.Abstractions/IFactory.cs similarity index 96% rename from csharp/Platform.Interfaces/IFactory.cs rename to csharp/Platform.Abstractions/IFactory.cs index b48586f7..02d72e72 100644 --- a/csharp/Platform.Interfaces/IFactory.cs +++ b/csharp/Platform.Abstractions/IFactory.cs @@ -1,4 +1,4 @@ -namespace Platform.Interfaces +namespace Platform.Abstractions { /// /// Defines a factory that produces instances of a specific type. diff --git a/csharp/Platform.Interfaces/IProperties.cs b/csharp/Platform.Abstractions/IProperties.cs similarity index 98% rename from csharp/Platform.Interfaces/IProperties.cs rename to csharp/Platform.Abstractions/IProperties.cs index 8bd6a564..fa2f2a02 100644 --- a/csharp/Platform.Interfaces/IProperties.cs +++ b/csharp/Platform.Abstractions/IProperties.cs @@ -1,4 +1,4 @@ -namespace Platform.Interfaces +namespace Platform.Abstractions { /// /// Defines a properties operator that is able to get or set values of properties of a object of a specific type. diff --git a/csharp/Platform.Interfaces/IProperty.cs b/csharp/Platform.Abstractions/IProperty.cs similarity index 95% rename from csharp/Platform.Interfaces/IProperty.cs rename to csharp/Platform.Abstractions/IProperty.cs index 8c27b16c..331f482f 100644 --- a/csharp/Platform.Interfaces/IProperty.cs +++ b/csharp/Platform.Abstractions/IProperty.cs @@ -1,4 +1,4 @@ -namespace Platform.Interfaces +namespace Platform.Abstractions { /// /// Defines a specific property operator that is able to get or set values of that property. diff --git a/csharp/Platform.Interfaces/IProvider[TProvided, TArgument].cs b/csharp/Platform.Abstractions/IProvider[TProvided, TArgument].cs similarity index 97% rename from csharp/Platform.Interfaces/IProvider[TProvided, TArgument].cs rename to csharp/Platform.Abstractions/IProvider[TProvided, TArgument].cs index bfe25727..76607ab7 100644 --- a/csharp/Platform.Interfaces/IProvider[TProvided, TArgument].cs +++ b/csharp/Platform.Abstractions/IProvider[TProvided, TArgument].cs @@ -1,4 +1,4 @@ -namespace Platform.Interfaces +namespace Platform.Abstractions { /// /// Defines the provider of objects/values for which an argument must be specified. diff --git a/csharp/Platform.Interfaces/IProvider[TProvided].cs b/csharp/Platform.Abstractions/IProvider[TProvided].cs similarity index 95% rename from csharp/Platform.Interfaces/IProvider[TProvided].cs rename to csharp/Platform.Abstractions/IProvider[TProvided].cs index 2d8da5a2..372432ed 100644 --- a/csharp/Platform.Interfaces/IProvider[TProvided].cs +++ b/csharp/Platform.Abstractions/IProvider[TProvided].cs @@ -1,4 +1,4 @@ -namespace Platform.Interfaces +namespace Platform.Abstractions { /// /// Defines the provider of objects/values. diff --git a/csharp/Platform.Interfaces/ISetter[TValue, TArgument].cs b/csharp/Platform.Abstractions/ISetter[TValue, TArgument].cs similarity index 97% rename from csharp/Platform.Interfaces/ISetter[TValue, TArgument].cs rename to csharp/Platform.Abstractions/ISetter[TValue, TArgument].cs index 8e15fa88..fb036f71 100644 --- a/csharp/Platform.Interfaces/ISetter[TValue, TArgument].cs +++ b/csharp/Platform.Abstractions/ISetter[TValue, TArgument].cs @@ -1,4 +1,4 @@ -namespace Platform.Interfaces +namespace Platform.Abstractions { /// /// Defines an setter that requires an argument to set the passed value as a new state. diff --git a/csharp/Platform.Interfaces/ISetter[TValue].cs b/csharp/Platform.Abstractions/ISetter[TValue].cs similarity index 96% rename from csharp/Platform.Interfaces/ISetter[TValue].cs rename to csharp/Platform.Abstractions/ISetter[TValue].cs index d39197ff..7893882b 100644 --- a/csharp/Platform.Interfaces/ISetter[TValue].cs +++ b/csharp/Platform.Abstractions/ISetter[TValue].cs @@ -1,4 +1,4 @@ -namespace Platform.Interfaces +namespace Platform.Abstractions { /// /// Defines an setter that sets the passed value as a new state. diff --git a/csharp/Platform.Interfaces/Platform.Interfaces.csproj b/csharp/Platform.Abstractions/Platform.Abstractions.csproj similarity index 74% rename from csharp/Platform.Interfaces/Platform.Interfaces.csproj rename to csharp/Platform.Abstractions/Platform.Abstractions.csproj index e4208009..4d61f1de 100644 --- a/csharp/Platform.Interfaces/Platform.Interfaces.csproj +++ b/csharp/Platform.Abstractions/Platform.Abstractions.csproj @@ -1,20 +1,20 @@  - LinksPlatform's Platform.Interfaces Class Library + LinksPlatform's Platform.Abstractions Class Library Konstantin Diachenko - Platform.Interfaces + Platform.Abstractions 0.5.1 Konstantin Diachenko net8 - Platform.Interfaces - Platform.Interfaces - LinksPlatform;Interfaces;ICounter;ICriterionMatcher;IFactory;IProperties;IProperty;IProvider;ISetter + Platform.Abstractions + Platform.Abstractions + LinksPlatform;Abstractions;ICounter;ICriterionMatcher;IFactory;IProperties;IProperty;IProvider;ISetter https://raw.githubusercontent.com/linksplatform/Documentation/18469f4d033ee9a5b7b84caab9c585acab2ac519/doc/Avatar-rainbow-icon-64x64.png - https://linksplatform.github.io/Interfaces + https://linksplatform.github.io/Abstractions Unlicense git - git://github.com/linksplatform/Interfaces + git://github.com/linksplatform/Abstractions false false true