StringlyTyped.ValueObjects 1.0.4

Install-Package StringlyTyped.ValueObjects -Version 1.0.4
dotnet add package StringlyTyped.ValueObjects --version 1.0.4
<PackageReference Include="StringlyTyped.ValueObjects" Version="1.0.4" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add StringlyTyped.ValueObjects --version 1.0.4
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: StringlyTyped.ValueObjects, 1.0.4"
#r directive can be used in F# Interactive, C# scripting and .NET Interactive. Copy this into the interactive tool or source code of the script to reference the package.
// Install StringlyTyped.ValueObjects as a Cake Addin
#addin nuget:?package=StringlyTyped.ValueObjects&version=1.0.4

// Install StringlyTyped.ValueObjects as a Cake Tool
#tool nuget:?package=StringlyTyped.ValueObjects&version=1.0.4
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

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.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
1.0.4 146 7/20/2021
1.0.3 96 7/17/2021
1.0.1 99 7/17/2021
1.0.0 86 7/16/2021
0.0.0-alpha.0.5 48 7/15/2021