NuGet Package OneOf - Easy Discriminated Unions for c#

F# style discriminated unions or C#, using a custom type OneOf<T0, ..

Tn> which holds a single value and has a .Match(...) method on it for exhaustive matching. Simple but powerful.

Info

Version: 3.0.174
Author(s): Harry McIntyre
Last Update: Friday, February 5, 2021
.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 3.5
  • No dependencies.
.NETFramework 4.5
  • No dependencies.
.NETStandard 1.3 37 packages depend on this package.


Tags



STATS

must-have-score

6

avg-downloads-per-day

542

days-since-last-release

99