ValueOf 1.0.1

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

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

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 netcoreapp1.1 is compatible.  netcoreapp2.0 was computed.  netcoreapp2.1 was computed.  netcoreapp2.2 was computed.  netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Framework net451 is compatible.  net452 was computed.  net46 was computed.  net461 was computed.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

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