161 packages returned for Tags:"Value"

Package type
Sort by
Options
Enable using the new Value Tuple structure to write elegant code that allows async methods to be fired in parallel despite having different return types Enable using the new Value Tuple structure to write elegant code that allows async methods to be fired in parallel despite having different return... More information
Declare Value Objects in one line e.g. `class ClientRef : ValueOf<string, ClientRef> { }`), create using `ClientRef.From(someString)` The base Type ValueOf<TValue, TThis>, provides Equals, GetHashcode. Use ValueTuples for multi property values e.g `class Address : ValueOf<(string firstLine, string... More information
Value is a pico library (or code snippets shed) to help you to easily implement Value Types (also known as Value Objects in DDD) in your C# projects without making implementation errors nor polluting your domain logic with boiler-plate code.
Defining email addresses, distances, phone numbers, etc. as separate semantic types lets you use the C# or VB type system to catch bugs during compilation.