diff --git a/Contracts/Synergy.Contracts.Samples/Annotations/SourceTemplateAttributeSample.cs b/Contracts/Synergy.Contracts.Samples/Annotations/SourceTemplateAttributeSample.cs deleted file mode 100644 index ef5ed4d..0000000 --- a/Contracts/Synergy.Contracts.Samples/Annotations/SourceTemplateAttributeSample.cs +++ /dev/null @@ -1,49 +0,0 @@ -using System; -using System.Collections.Generic; -using JetBrains.Annotations; - -namespace Synergy.Contracts.Samples.Annotations -{ - public static class SourceTemplateAttributeSample - { - [SourceTemplate] - [UsedImplicitly] - // ReSharper disable once InconsistentNaming - // ReSharper disable UnusedVariable - public static void forEach([NotNull] this IEnumerable xs) - { - foreach (T x in xs) - { - //$ $END$ - } - } - // ReSharper restore UnusedVariable - - [SourceTemplate] - [UsedImplicitly] - // ReSharper disable once InconsistentNaming - public static void newGuid(this object obj, [Macro(Expression = "guid()", Editable = -1)] string newguid) - { - Console.WriteLine("$newguid$"); - } - - [SourceTemplate] - [UsedImplicitly] - public static void Bar(this T entity) - { - /*$ var $entity$Id = entity.GetId();; - DoSomething($entity$Id); */ - } - - [UsedImplicitly] - private static void Test() - { - //var enumerable = new List(); - - //enumerable.forEach - //enumerable.newGuid - - //enumerable.Bar - } - } -} \ No newline at end of file diff --git a/Contracts/Synergy.Contracts.Samples/Properties/AssemblyInfo.cs b/Contracts/Synergy.Contracts.Samples/Properties/AssemblyInfo.cs deleted file mode 100644 index 419919f..0000000 --- a/Contracts/Synergy.Contracts.Samples/Properties/AssemblyInfo.cs +++ /dev/null @@ -1,18 +0,0 @@ -using System.Reflection; - -[assembly: AssemblyTitle("Synergy.Contracts.Samples")] -[assembly: AssemblyDescription("")] - -// Version information for an assembly consists of the following four values: -// -// Major Version -// Minor Version -// Build Number -// Revision -// -// You can specify all the values or you can default the Build and Revision Numbers -// by using the '*' as shown below: -// [assembly: AssemblyVersion("1.0.*")] -[assembly: AssemblyVersion("1.0.0.0")] -[assembly: AssemblyFileVersion("1.0.0.0")] -[assembly: AssemblyInformationalVersion("1.0.0.0")] \ No newline at end of file diff --git a/Contracts/Synergy.Contracts.Samples/Synergy.Contracts.Samples.csproj b/Contracts/Synergy.Contracts.Samples/Synergy.Contracts.Samples.csproj deleted file mode 100644 index 230e2a7..0000000 --- a/Contracts/Synergy.Contracts.Samples/Synergy.Contracts.Samples.csproj +++ /dev/null @@ -1,33 +0,0 @@ - - - false - false - net6.0 - enable - 10 - - - full - bin\$(Configuration)\ - - - pdbonly - bin\$(Configuration)\ - - - {B585BA9B-E3CC-4CE0-AE48-035C13C08B7E} - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/Contracts/Synergy.Contracts.Test/Architecture/Debt/Todos.Technical.Debt.verified.md b/Contracts/Synergy.Contracts.Test/Architecture/Debt/Todos.Technical.Debt.verified.md index 0a1ec6c..bc75634 100644 --- a/Contracts/Synergy.Contracts.Test/Architecture/Debt/Todos.Technical.Debt.verified.md +++ b/Contracts/Synergy.Contracts.Test/Architecture/Debt/Todos.Technical.Debt.verified.md @@ -2,7 +2,7 @@ Total: 14 -## [ContractorRepository.cs](../../../Synergy.Contracts.Samples/ContractorRepository.cs) +## [ContractorRepository.cs](../../Failures/Doubles/ContractorRepository.cs) - TODO: Marcin Celej [from: Marcin Celej on: 30-04-2023]: Remove this sample project ## [BusinessDocumentation.cs](../../Requirements/BusinessDocumentation.cs) diff --git a/Contracts/Synergy.Contracts.Samples/Domain/Address.cs b/Contracts/Synergy.Contracts.Test/Failures/Doubles/Address.cs similarity index 100% rename from Contracts/Synergy.Contracts.Samples/Domain/Address.cs rename to Contracts/Synergy.Contracts.Test/Failures/Doubles/Address.cs diff --git a/Contracts/Synergy.Contracts.Samples/Domain/Contractor.cs b/Contracts/Synergy.Contracts.Test/Failures/Doubles/Contractor.cs similarity index 100% rename from Contracts/Synergy.Contracts.Samples/Domain/Contractor.cs rename to Contracts/Synergy.Contracts.Test/Failures/Doubles/Contractor.cs diff --git a/Contracts/Synergy.Contracts.Samples/ContractorRepository.cs b/Contracts/Synergy.Contracts.Test/Failures/Doubles/ContractorRepository.cs similarity index 100% rename from Contracts/Synergy.Contracts.Samples/ContractorRepository.cs rename to Contracts/Synergy.Contracts.Test/Failures/Doubles/ContractorRepository.cs diff --git a/Contracts/Synergy.Contracts.Samples/Domain/ContractorType.cs b/Contracts/Synergy.Contracts.Test/Failures/Doubles/ContractorType.cs similarity index 100% rename from Contracts/Synergy.Contracts.Samples/Domain/ContractorType.cs rename to Contracts/Synergy.Contracts.Test/Failures/Doubles/ContractorType.cs diff --git a/Contracts/Synergy.Contracts.Test/Synergy.Contracts.Test.csproj b/Contracts/Synergy.Contracts.Test/Synergy.Contracts.Test.csproj index 12af1ef..e9fbab4 100644 --- a/Contracts/Synergy.Contracts.Test/Synergy.Contracts.Test.csproj +++ b/Contracts/Synergy.Contracts.Test/Synergy.Contracts.Test.csproj @@ -20,7 +20,6 @@ - diff --git a/Synergy.Framework.sln b/Synergy.Framework.sln index 8218c6e..e4dd6a5 100644 --- a/Synergy.Framework.sln +++ b/Synergy.Framework.sln @@ -7,8 +7,6 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Contracts", "Contracts", "{ EndProject Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Synergy.Contracts", "Contracts\Synergy.Contracts\Synergy.Contracts.csproj", "{653FF172-0DC5-4D81-91AE-3CE09D8CF7C1}" EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Synergy.Contracts.Samples", "Contracts\Synergy.Contracts.Samples\Synergy.Contracts.Samples.csproj", "{B585BA9B-E3CC-4CE0-AE48-035C13C08B7E}" -EndProject Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Synergy.Contracts.Test", "Contracts\Synergy.Contracts.Test\Synergy.Contracts.Test.csproj", "{6FFB403F-FFDE-44A5-B3DA-C16F008CA8FE}" EndProject Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Web", "Web", "{99DE49F8-B6A3-4816-9E92-68DE30F11C4F}" @@ -70,10 +68,6 @@ Global {653FF172-0DC5-4D81-91AE-3CE09D8CF7C1}.Debug|Any CPU.Build.0 = Debug|Any CPU {653FF172-0DC5-4D81-91AE-3CE09D8CF7C1}.Release|Any CPU.ActiveCfg = Release|Any CPU {653FF172-0DC5-4D81-91AE-3CE09D8CF7C1}.Release|Any CPU.Build.0 = Release|Any CPU - {B585BA9B-E3CC-4CE0-AE48-035C13C08B7E}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {B585BA9B-E3CC-4CE0-AE48-035C13C08B7E}.Debug|Any CPU.Build.0 = Debug|Any CPU - {B585BA9B-E3CC-4CE0-AE48-035C13C08B7E}.Release|Any CPU.ActiveCfg = Release|Any CPU - {B585BA9B-E3CC-4CE0-AE48-035C13C08B7E}.Release|Any CPU.Build.0 = Release|Any CPU {6FFB403F-FFDE-44A5-B3DA-C16F008CA8FE}.Debug|Any CPU.ActiveCfg = Debug|Any CPU {6FFB403F-FFDE-44A5-B3DA-C16F008CA8FE}.Debug|Any CPU.Build.0 = Debug|Any CPU {6FFB403F-FFDE-44A5-B3DA-C16F008CA8FE}.Release|Any CPU.ActiveCfg = Release|Any CPU @@ -152,7 +146,6 @@ Global EndGlobalSection GlobalSection(NestedProjects) = preSolution {653FF172-0DC5-4D81-91AE-3CE09D8CF7C1} = {146E5D84-D923-4731-BAB4-8D46E30A1433} - {B585BA9B-E3CC-4CE0-AE48-035C13C08B7E} = {146E5D84-D923-4731-BAB4-8D46E30A1433} {6FFB403F-FFDE-44A5-B3DA-C16F008CA8FE} = {146E5D84-D923-4731-BAB4-8D46E30A1433} {21915551-5CF0-4A79-A313-2022FBA1C8D4} = {B039D88B-1131-401A-955D-D1C5A0D3D862} {43DFDFF3-CA23-4772-8C7C-E3FB1CD6455A} = {B039D88B-1131-401A-955D-D1C5A0D3D862}