ValueOf 2.0.31

.NET Standard 2.0 .NET Framework 4.8
Install-Package ValueOf -Version 2.0.31
dotnet add package ValueOf --version 2.0.31
<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
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: ValueOf, 2.0.31"
#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.31

// Install ValueOf as a Cake Tool
#tool nuget:?package=ValueOf&version=2.0.31
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> {}`

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
.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
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 (5)

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


Package Description


Package Description


Package Description

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
2.0.31 18,753 3/4/2022
2.0.29 194 3/3/2022
2.0.27 3,080 2/8/2022
2.0.21 77,349 5/6/2021
1.0.17 340,581 5/5/2020
1.0.14 51,658 10/29/2019
1.0.12 24,124 5/10/2019
1.0.7 20,031 4/23/2018
1.0.4 1,095 8/26/2017
1.0.1 884 8/8/2017