NuGet Package OneOf - Easy Discriminated Unions for c#

F# style discriminated unions or C#, using a custom type OneOf
Tn> which holds a single value and has a .Match(...) method on it for exhaustive matching. Simple but powerful.

Info

Version: 2.1.151
Author(s): Harry McIntyre
Last Update: Monday, November 4, 2019
.NET Fiddle: Online Example
Project Url: https://github.com/mcintyre321/OneOf/
NuGet Url: https://www.nuget.org/packages/OneOf


Install
Install-Package OneOf
dotnet add package OneOf
paket add OneOf
OneOf Download (Unzip the "nupkg" after downloading)

.NETFramework 4.5
  • No dependencies.
.NETStandard 1.3 9 packages depend on this package.


Tags



STATS

must-have-score

6.3

avg-downloads-per-day

195

days-since-last-release

110