⚠ Deprecated: Legacy
This package is no longer maintained. For high performance wrappers around primitive types, please now use Vogen, which source generates the wrappers and supports structs as well as classes, easing memory pressure when wrapping value types.
Suggested alternative: Vogen
This package contains a very simple implementation of a ValueObject in .NET. A ValueObject is a strongly typed (strongly, not stringly) domain object that is immutable. Instead of `int customerId = 42;` we have `var customerId = CustomerId.From(42);` Validation is in just one place. You can't introduce bad objects into your domain, therefore you can assume that in your domain every ValueObject is valid. Handy.
$ dotnet add package StringlyTyped.ValueObjectsNo README available.