ValueOf 2.0.31

.NET Standard 2.0 .NET Framework 4.8
dotnet add package ValueOf --version 2.0.31
NuGet\Install-Package ValueOf -Version 2.0.31
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="ValueOf" Version="2.0.31" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add ValueOf --version 2.0.31
#r "nuget: ValueOf, 2.0.31"
#r directive can be used in F# Interactive and Polyglot Notebooks. 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.31

// Install ValueOf as a Cake Tool
#tool nuget:?package=ValueOf&version=2.0.31

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> {}`

Product Versions
.NET net5.0 net5.0-windows net6.0 net6.0-android net6.0-ios net6.0-maccatalyst net6.0-macos net6.0-tvos net6.0-windows net7.0 net7.0-android net7.0-ios net7.0-maccatalyst net7.0-macos net7.0-tvos net7.0-windows
.NET Core netcoreapp2.0 netcoreapp2.1 netcoreapp2.2 netcoreapp3.0 netcoreapp3.1
.NET Standard netstandard2.0 netstandard2.1
.NET Framework net461 net462 net463 net47 net471 net472 net48 net481
MonoAndroid monoandroid
MonoMac monomac
MonoTouch monotouch
Tizen tizen40 tizen60
Xamarin.iOS xamarinios
Xamarin.Mac xamarinmac
Xamarin.TVOS xamarintvos
Xamarin.WatchOS xamarinwatchos
Compatible target framework(s)
Additional computed target framework(s)
Learn more about Target Frameworks and .NET Standard.
  • .NETFramework 4.8

    • No dependencies.
  • .NETStandard 2.0

    • No dependencies.

NuGet packages (6)

Showing the top 5 NuGet packages that depend on ValueOf:

Package Downloads

Extensions to aid in development.


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


Small framework to acelerate DDD-based applications


Package Description


Package Description

GitHub repositories (2)

Showing the top 2 popular GitHub repositories that depend on ValueOf:

Repository Stars
A project showcasing how you can build a clean Minimal API using FastEndpoints
Version Downloads Last updated
2.0.31 172,621 3/4/2022
2.0.29 430 3/3/2022
2.0.27 6,958 2/8/2022
2.0.21 152,387 5/6/2021
1.0.17 450,668 5/5/2020
1.0.14 62,110 10/29/2019
1.0.12 26,461 5/10/2019
1.0.7 20,773 4/23/2018
1.0.4 1,231 8/26/2017
1.0.1 995 8/8/2017