OneOf

F# style discriminated unions for 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.

3.0.271Latest, 16 May 2024
84MDownloads, all time
0Advisories on the latest
0Advisories, all versions
non-standardLicence
4.1KStars
4.0/10OpenSSF Scorecard

Sources: NuGet, deps.dev (CC BY 4.0), OSV. Last checked 4 Dec 2026.