Portable library for easy to use F#-like Discriminated Unions in C#. Implicitly casts objects into OneOf instances, then use .Match extension to do pattern matching.  Designed as a partial drop in replacement for OneOf.

Install-Package DiscU -Version
dotnet add package DiscU --version
<PackageReference Include="DiscU" Version="" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add DiscU --version
The NuGet Team does not provide support for this client. Please contact its maintainers for support.


This package has no dependencies.

This package is not used by any popular GitHub repositories.

Version History

Version Downloads Last updated 766 2/16/2018 295 2/13/2018
0.0.29 508 1/20/2017
0.0.16 458 11/7/2016
0.0.13 450 10/17/2016