diff --git a/Examples/Examples.sln b/Examples/Examples.sln index 4c613a90..781531d6 100644 --- a/Examples/Examples.sln +++ b/Examples/Examples.sln @@ -91,12 +91,6 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Messaging", "Messaging", "{ EndProject Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Providers", "Providers", "{3199F749-0082-41D0-91D3-ECED117F8B08}" EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "RCommon.DotNet6.Tests", "..\Tests\RCommon.DotNet6.Tests\RCommon.DotNet6.Tests.csproj", "{B93C2373-7ADD-4D1F-B8CB-8FF32EAF364E}" -EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "RCommon.DotNet7.Tests", "..\Tests\RCommon.DotNet7.Tests\RCommon.DotNet7.Tests.csproj", "{CABBB120-77E7-4C1D-B706-D934BE1C035C}" -EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "RCommon.DotNet8.Tests", "..\Tests\RCommon.DotNet8.Tests\RCommon.DotNet8.Tests.csproj", "{75F1593B-B15D-41E5-B404-020B35A3F691}" -EndProject Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "RCommon.Wolverine", "..\Src\RCommon.Wolverine\RCommon.Wolverine.csproj", "{90B4A098-01AB-4B35-987E-838F2241DA17}" EndProject Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "EventHandling", "EventHandling", "{FCC70943-06B2-4743-A99D-82F5122297F3}" @@ -269,18 +263,6 @@ Global {38508541-4429-4A30-9D84-B151250E08B8}.Debug|Any CPU.Build.0 = Debug|Any CPU {38508541-4429-4A30-9D84-B151250E08B8}.Release|Any CPU.ActiveCfg = Release|Any CPU {38508541-4429-4A30-9D84-B151250E08B8}.Release|Any CPU.Build.0 = Release|Any CPU - {B93C2373-7ADD-4D1F-B8CB-8FF32EAF364E}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {B93C2373-7ADD-4D1F-B8CB-8FF32EAF364E}.Debug|Any CPU.Build.0 = Debug|Any CPU - {B93C2373-7ADD-4D1F-B8CB-8FF32EAF364E}.Release|Any CPU.ActiveCfg = Release|Any CPU - {B93C2373-7ADD-4D1F-B8CB-8FF32EAF364E}.Release|Any CPU.Build.0 = Release|Any CPU - {CABBB120-77E7-4C1D-B706-D934BE1C035C}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {CABBB120-77E7-4C1D-B706-D934BE1C035C}.Debug|Any CPU.Build.0 = Debug|Any CPU - {CABBB120-77E7-4C1D-B706-D934BE1C035C}.Release|Any CPU.ActiveCfg = Release|Any CPU - {CABBB120-77E7-4C1D-B706-D934BE1C035C}.Release|Any CPU.Build.0 = Release|Any CPU - {75F1593B-B15D-41E5-B404-020B35A3F691}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {75F1593B-B15D-41E5-B404-020B35A3F691}.Debug|Any CPU.Build.0 = Debug|Any CPU - {75F1593B-B15D-41E5-B404-020B35A3F691}.Release|Any CPU.ActiveCfg = Release|Any CPU - {75F1593B-B15D-41E5-B404-020B35A3F691}.Release|Any CPU.Build.0 = Release|Any CPU {90B4A098-01AB-4B35-987E-838F2241DA17}.Debug|Any CPU.ActiveCfg = Debug|Any CPU {90B4A098-01AB-4B35-987E-838F2241DA17}.Debug|Any CPU.Build.0 = Debug|Any CPU {90B4A098-01AB-4B35-987E-838F2241DA17}.Release|Any CPU.ActiveCfg = Release|Any CPU @@ -353,9 +335,6 @@ Global {86B19A1B-17F9-410F-8B97-74FE3EE7A4BE} = {0AF37317-F10E-47E8-A4C8-9EA886E00E40} {38508541-4429-4A30-9D84-B151250E08B8} = {86B19A1B-17F9-410F-8B97-74FE3EE7A4BE} {35AE0870-0A6D-4F27-B534-B8DCDFD11A36} = {3234C3BB-1632-4684-838E-9D6D382D4D4D} - {B93C2373-7ADD-4D1F-B8CB-8FF32EAF364E} = {788A01F9-0510-441A-B05B-0CDA0EE87507} - {CABBB120-77E7-4C1D-B706-D934BE1C035C} = {788A01F9-0510-441A-B05B-0CDA0EE87507} - {75F1593B-B15D-41E5-B404-020B35A3F691} = {788A01F9-0510-441A-B05B-0CDA0EE87507} {90B4A098-01AB-4B35-987E-838F2241DA17} = {3199F749-0082-41D0-91D3-ECED117F8B08} {FCC70943-06B2-4743-A99D-82F5122297F3} = {3234C3BB-1632-4684-838E-9D6D382D4D4D} {213F2EFE-F1DF-471C-A518-94D107DD543F} = {FCC70943-06B2-4743-A99D-82F5122297F3} diff --git a/Examples/Validation/Examples.Validation.FluentValidation/Validators/TestCommandValidator.cs b/Examples/Validation/Examples.Validation.FluentValidation/Validators/TestCommandValidator.cs new file mode 100644 index 00000000..e9e04064 --- /dev/null +++ b/Examples/Validation/Examples.Validation.FluentValidation/Validators/TestCommandValidator.cs @@ -0,0 +1,17 @@ +using FluentValidation; +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace Examples.ApplicationServices.CQRS.Validators +{ + public class TestCommandValidator : AbstractValidator + { + public TestCommandValidator() + { + RuleFor(command => command.Message).NotNull().NotEmpty(); + } + } +} diff --git a/Tests/RCommon.DotNet6.Tests/DotNetTests.cs b/Tests/RCommon.DotNet6.Tests/DotNetTests.cs deleted file mode 100644 index 82c94de3..00000000 --- a/Tests/RCommon.DotNet6.Tests/DotNetTests.cs +++ /dev/null @@ -1,21 +0,0 @@ -using Microsoft.Extensions.DependencyInjection; -using NUnit.Framework; - -namespace RCommon.DotNet6.Tests -{ - public class Tests - { - [SetUp] - public void Setup() - { - } - - [Test] - public void Can_Use_Dapper() - { - var services = new ServiceCollection(); - var target = new DapperPersistenceBuilder(services); - Assert.That(target, Is.Not.Null); - } - } -} diff --git a/Tests/RCommon.DotNet6.Tests/RCommon.DotNet6.Tests.csproj b/Tests/RCommon.DotNet6.Tests/RCommon.DotNet6.Tests.csproj deleted file mode 100644 index 97872e38..00000000 --- a/Tests/RCommon.DotNet6.Tests/RCommon.DotNet6.Tests.csproj +++ /dev/null @@ -1,39 +0,0 @@ - - - - net6.0 - enable - - false - - - - - - - - all - runtime; build; native; contentfiles; analyzers; buildtransitive - - - - - - - - - - - - - - - - - - - - - - - diff --git a/Tests/RCommon.DotNet7.Tests/DotNetTests.cs b/Tests/RCommon.DotNet7.Tests/DotNetTests.cs deleted file mode 100644 index 2206456f..00000000 --- a/Tests/RCommon.DotNet7.Tests/DotNetTests.cs +++ /dev/null @@ -1,12 +0,0 @@ -namespace RCommon.DotNet7.Tests -{ - public class Tests - { - [SetUp] - public void Setup() - { - } - - - } -} diff --git a/Tests/RCommon.DotNet7.Tests/RCommon.DotNet7.Tests.csproj b/Tests/RCommon.DotNet7.Tests/RCommon.DotNet7.Tests.csproj deleted file mode 100644 index eb836cb4..00000000 --- a/Tests/RCommon.DotNet7.Tests/RCommon.DotNet7.Tests.csproj +++ /dev/null @@ -1,44 +0,0 @@ - - - - net7.0 - enable - enable - - false - - - - - - - - all - runtime; build; native; contentfiles; analyzers; buildtransitive - - - all - runtime; build; native; contentfiles; analyzers; buildtransitive - - - - - - - - - - - - - - - - - - - - - - - diff --git a/Tests/RCommon.DotNet7.Tests/Usings.cs b/Tests/RCommon.DotNet7.Tests/Usings.cs deleted file mode 100644 index cefced49..00000000 --- a/Tests/RCommon.DotNet7.Tests/Usings.cs +++ /dev/null @@ -1 +0,0 @@ -global using NUnit.Framework; \ No newline at end of file diff --git a/Tests/RCommon.DotNet8.Tests/DotNetTests.cs b/Tests/RCommon.DotNet8.Tests/DotNetTests.cs deleted file mode 100644 index 93f0b9da..00000000 --- a/Tests/RCommon.DotNet8.Tests/DotNetTests.cs +++ /dev/null @@ -1,12 +0,0 @@ -namespace RCommon.DotNet8.Tests -{ - public class Tests - { - [SetUp] - public void Setup() - { - } - - - } -} diff --git a/Tests/RCommon.DotNet8.Tests/GlobalUsings.cs b/Tests/RCommon.DotNet8.Tests/GlobalUsings.cs deleted file mode 100644 index cefced49..00000000 --- a/Tests/RCommon.DotNet8.Tests/GlobalUsings.cs +++ /dev/null @@ -1 +0,0 @@ -global using NUnit.Framework; \ No newline at end of file diff --git a/Tests/RCommon.DotNet8.Tests/RCommon.DotNet8.Tests.csproj b/Tests/RCommon.DotNet8.Tests/RCommon.DotNet8.Tests.csproj deleted file mode 100644 index 27febf37..00000000 --- a/Tests/RCommon.DotNet8.Tests/RCommon.DotNet8.Tests.csproj +++ /dev/null @@ -1,45 +0,0 @@ - - - - net8.0 - enable - enable - - false - true - - - - - - - - all - runtime; build; native; contentfiles; analyzers; buildtransitive - - - all - runtime; build; native; contentfiles; analyzers; buildtransitive - - - - - - - - - - - - - - - - - - - - - - -