Skip to main content
ValueOf package icon

ValueOf

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

Total Downloads
3.2M
3,197,269
Published
May 5, 2020
Latest stable version

Install

.NET CLI
dotnet add package ValueOf --version 1.0.17
Package Manager Console
Install-Package ValueOf -Version 1.0.17
PackageReference
<PackageReference Include="ValueOf" Version="1.0.17" />

Frameworks

.NETCoreApp1.1 .NETFramework4.5.1 .NETStandard1.3

Dependencies

[1.1.2, )
NETStandard.Library
.NETStandard1.3
[1.6.1, )

Adoption guide

Assess this package against its supported frameworks, license, maintenance signals and dependency graph before making it a project standard.

No SPDX license expression is published. Review the license text and your organisation's policy before redistribution.

Compatibility metadata lists 3 target frameworks; confirm the exact target used by your application.

How to read this guidance

Sources: published NuGet v3 registry metadata and explicit NuBrowse editorial guides. Refresh: package metadata is refreshed from NuGet when the page loads. Limit: this is not a security, legal or compatibility guarantee; validate the selected version in your project.

Useful next steps

Move from package metadata to a concrete selection or review workflow.