ValueOf 2.0.21

Install-Package ValueOf -Version 2.0.21
dotnet add package ValueOf --version 2.0.21
<PackageReference Include="ValueOf" Version="2.0.21" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add ValueOf --version 2.0.21
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: ValueOf, 2.0.21"
#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 ValueOf as a Cake Addin
#addin nuget:?package=ValueOf&version=2.0.21

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

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 secondLine, Postcode postcode), Address> {}`

NuGet packages (4)

Showing the top 4 NuGet packages that depend on ValueOf:

Package Downloads
MetaTypes

A set of highly mutable types a bit like the types in the Reflection namespace for metaprogramming

BreadTh.StronglyApied

Package Description

DFlow.Domain

Package Description

BreadTh.StronglyApied.Http

Package Description

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
2.0.21 25,100 5/6/2021
1.0.17 113,167 5/5/2020
1.0.14 41,551 10/29/2019
1.0.12 21,950 5/10/2019
1.0.7 17,499 4/23/2018
1.0.4 848 8/26/2017
1.0.1 667 8/8/2017