diff --git a/Directory.Build.props b/Directory.Build.props index 505d8ef..d28213b 100644 --- a/Directory.Build.props +++ b/Directory.Build.props @@ -11,31 +11,44 @@ StrongOf helps to implement primitives as a strong type that represents a domain object (e.g. UserId, EmailAddress, etc.). It is a simple class that wraps a value and provides a few helper methods to make it easier to work with. In contrast to other approaches, StrongOf is above all simple and performant - and not over-engineered. + en-US + true + embedded - - + + $(MSBuildProjectName.Contains('Test')) + $(MsBuildProjectName.Contains('Benchmark')) + + + StrongOf BenjaminAbt.StrongOf - - + net7.0;net8.0 - - + false https://github.com/BenjaminAbt/StrongOf + true + Primitive Obsession with .NET + 2.12 Strong, StrongOf, DDD, Value Objects, Domain Driven Design + false + true - - + 12.0 enable enable true + + + true + diff --git a/src/StrongOf.AspNetCore/StrongOf.AspNetCore.csproj b/src/StrongOf.AspNetCore/StrongOf.AspNetCore.csproj index fa023f8..f9cf339 100644 --- a/src/StrongOf.AspNetCore/StrongOf.AspNetCore.csproj +++ b/src/StrongOf.AspNetCore/StrongOf.AspNetCore.csproj @@ -1,7 +1,6 @@  - - + true readme.md LICENSE.txt diff --git a/src/StrongOf.FluentValidation/StrongIn64Validators.cs b/src/StrongOf.FluentValidation/StrongIn64Validators.cs index 17e2937..a18014d 100644 --- a/src/StrongOf.FluentValidation/StrongIn64Validators.cs +++ b/src/StrongOf.FluentValidation/StrongIn64Validators.cs @@ -40,7 +40,7 @@ public static class StrongIn64Validators /// The type of the object being validated. /// The type of the strong Int64. /// The rule builder. - /// The maximum value. + /// The maximum value. /// The rule builder options. public static IRuleBuilderOptions HasMaximum(this IRuleBuilder rule, long max) where TStrong : StrongInt64 diff --git a/src/StrongOf.FluentValidation/StrongOf.FluentValidation.csproj b/src/StrongOf.FluentValidation/StrongOf.FluentValidation.csproj index ac1f44a..fe168c4 100644 --- a/src/StrongOf.FluentValidation/StrongOf.FluentValidation.csproj +++ b/src/StrongOf.FluentValidation/StrongOf.FluentValidation.csproj @@ -1,7 +1,6 @@  - - + true readme.md LICENSE.txt diff --git a/src/StrongOf.Json/StrongOf.Json.csproj b/src/StrongOf.Json/StrongOf.Json.csproj index 9fbac99..7be2ecb 100644 --- a/src/StrongOf.Json/StrongOf.Json.csproj +++ b/src/StrongOf.Json/StrongOf.Json.csproj @@ -1,7 +1,6 @@  - - + true readme.md LICENSE.txt @@ -17,6 +16,6 @@ - + diff --git a/src/StrongOf/StrongDateTime.Operators.cs b/src/StrongOf/StrongDateTime.Operators.cs index 32aa333..5cc267a 100644 --- a/src/StrongOf/StrongDateTime.Operators.cs +++ b/src/StrongOf/StrongDateTime.Operators.cs @@ -1,10 +1,5 @@ namespace StrongOf; -/// -/// Represents a strongly typed DateTime value. -/// -/// The type of the strong DateTime. -/// "The DateTime type has some design flaws. Please migrate to DateTimeOffset." public abstract partial class StrongDateTime { /// diff --git a/src/StrongOf/StrongDateTimeOffset.Operators.cs b/src/StrongOf/StrongDateTimeOffset.Operators.cs index db2532c..3027483 100644 --- a/src/StrongOf/StrongDateTimeOffset.Operators.cs +++ b/src/StrongOf/StrongDateTimeOffset.Operators.cs @@ -1,9 +1,5 @@ namespace StrongOf; -/// -/// Represents a strongly typed DateTimeOffset. -/// -/// The type of the strong DateTimeOffset. public abstract partial class StrongDateTimeOffset { /// diff --git a/src/StrongOf/StrongInt32.Operators.cs b/src/StrongOf/StrongInt32.Operators.cs index b5cffbe..b3944fc 100644 --- a/src/StrongOf/StrongInt32.Operators.cs +++ b/src/StrongOf/StrongInt32.Operators.cs @@ -1,9 +1,5 @@ namespace StrongOf; -/// -/// Represents a strong type of Int32. -/// -/// The type of the strong Int32. public abstract partial class StrongInt32 { /// diff --git a/src/StrongOf/StrongInt64.Operators.cs b/src/StrongOf/StrongInt64.Operators.cs index cb1b439..d70cbcd 100644 --- a/src/StrongOf/StrongInt64.Operators.cs +++ b/src/StrongOf/StrongInt64.Operators.cs @@ -1,9 +1,5 @@ namespace StrongOf; -/// -/// Represents a strong type of Int64. -/// -/// The type of the strong Int64. public abstract partial class StrongInt64 { /// diff --git a/src/StrongOf/StrongOf.csproj b/src/StrongOf/StrongOf.csproj index e794523..f13cfe7 100644 --- a/src/StrongOf/StrongOf.csproj +++ b/src/StrongOf/StrongOf.csproj @@ -1,7 +1,6 @@  - - + true readme.md LICENSE.txt diff --git a/src/StrongOf/StrongString.Methods.cs b/src/StrongOf/StrongString.Methods.cs index 7b7eb0e..8b90930 100644 --- a/src/StrongOf/StrongString.Methods.cs +++ b/src/StrongOf/StrongString.Methods.cs @@ -2,10 +2,6 @@ namespace StrongOf; -/// -/// Represents a strong string of a specific type. -/// -/// The type of the strong string. public abstract partial class StrongString { /// diff --git a/src/StrongOf/StrongString.Properties.cs b/src/StrongOf/StrongString.Properties.cs index b4d0148..7472064 100644 --- a/src/StrongOf/StrongString.Properties.cs +++ b/src/StrongOf/StrongString.Properties.cs @@ -1,9 +1,5 @@ namespace StrongOf; -/// -/// Represents a strong string of a specific type. -/// -/// The type of the strong string. public abstract partial class StrongString { ///