ValueOf 2.0.27

There is a newer version of this package available.
See the version list below for details.
dotnet add package ValueOf --version 2.0.27
NuGet\Install-Package ValueOf -Version 2.0.27
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.27" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add ValueOf --version 2.0.27
#r "nuget: ValueOf, 2.0.27"
#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.27

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

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 Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net6.0 was computed.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed. 
.NET Core netcoreapp2.0 was computed.  netcoreapp2.1 was computed.  netcoreapp2.2 was computed.  netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard2.0 is compatible.  netstandard2.1 was computed. 
.NET Framework net461 was computed.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 is compatible.  net481 was computed. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen40 was computed.  tizen60 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • .NETFramework 4.8

    • No dependencies.
  • .NETStandard 2.0

    • No dependencies.

NuGet packages (7)

Showing the top 5 NuGet packages that depend on ValueOf:

Package Downloads

Extensions to aid in development.


Package Description


Small framework to acelerate DDD-based applications


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


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 619,731 3/4/2022
2.0.29 540 3/3/2022
2.0.27 9,183 2/8/2022
2.0.21 244,533 5/6/2021
1.0.17 479,077 5/5/2020
1.0.14 73,796 10/29/2019
1.0.12 29,567 5/10/2019
1.0.7 21,721 4/23/2018
1.0.4 1,389 8/26/2017
1.0.1 1,344 8/8/2017