Info
Version: | 2.0.31 |
Author(s): | Harry McIntyre |
Last Update: | Friday, March 4, 2022 |
.NET Fiddle: | Online Example |
Project Url: | https://github.com/mcintyre321/ValueOf/ |
NuGet Url: | https://www.nuget.org/packages/ValueOf |
Install
Install-Package ValueOf
dotnet add package ValueOf
paket add ValueOf
ValueOf Download (Unzip the "nupkg" after downloading)
Dependencies
.NETStandard 1.3
- NETStandard.Library(>= 1.6.1)
No dependencies.
- Microsoft.NETCore.App(>= 1.1.2)
Tags
`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> {}`.