Skip To Content
Toggle navigation
Packages
Upload
Statistics
Documentation
Downloads
Blog
Sign in
Advanced search filters
Frameworks
Include compatible frameworks
Framework Filter Mode
ALL
ANY
.NET
net8.0
net7.0
net6.0
net5.0
.NET Core
netcoreapp3.1
netcoreapp3.0
netcoreapp2.2
netcoreapp2.1
netcoreapp2.0
netcoreapp1.1
netcoreapp1.0
.NET Standard
netstandard2.1
netstandard2.0
netstandard1.6
netstandard1.5
netstandard1.4
netstandard1.3
netstandard1.2
netstandard1.1
netstandard1.0
.NET Framework
net481
net48
net472
net471
net47
net462
net461
net46
net452
net451
net45
net40
net35
net30
net20
Package type
All types
Dependency
.NET tool
Template
Options
Include prerelease
30 packages returned for Tags:"Unions"
Sort by
Relevance
Downloads
Recently updated
OneOf
by:
mcintyre321
.NET 5.0
.NET Core 1.0
.NET Standard 1.3
.NET Framework 3.5
18,917,921 total downloads
last updated
9/7/2023
Latest version:
3.0.263
discriminated
unions
return
type
match
switch
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.
Microsoft.
FSharpLu.
Json
by:
FSharpLu
Microsoft
.NET 5.0
.NET Core 2.0
.NET Standard 2.0
.NET Framework 4.6.1
549,940 total downloads
last updated
6/24/2021
Latest version:
0.11.7
F#
FSharp
Utilities
Json
discriminated
unions
Json serialization converters for F# option types and discriminated unions.
OneOf.
SourceGenerator
by:
mcintyre321
761,246 total downloads
last updated
9/7/2023
Latest version:
3.0.263
discriminated
unions
return
type
match
switch
generator
source
generator
This source generator automaticly implements OneOfBase hierarchies
OneOf.
Extended
by:
mcintyre321
.NET 5.0
.NET Core 1.0
.NET Standard 1.3
.NET Framework 3.5
387,721 total downloads
last updated
9/7/2023
Latest version:
3.0.263
discriminated
unions
return
type
match
switch
This package extends the OneOf types from OneOf<T0, .., T9> to OneOf<T0, .., T32> for when you really have a lot of options
OneOf.
FSharp
by:
mcintyre321
.NET 5.0
.NET Core 2.0
.NET Standard 2.0
.NET Framework 4.6.1
252,487 total downloads
last updated
9/7/2023
Latest version:
3.0.263
discriminated
unions
return
type
match
switch
This is an FSharp library for interop with the C# OneOf Types
SuccincT
by:
DavidArno
.NET 5.0
.NET Core 2.0
.NET Standard 2.0
.NET Framework 4.6.1
131,483 total downloads
last updated
2/17/2020
Latest version:
4.0.0
Partial
application
Discriminated
unions
Options
Maybe
Pattern
matching
cons
functional
Succinc<T> is a .NET library that adds a number of functional features to C#: * Discriminated unions, * Pattern matching, * Partial applications, * "Implicitly" typed lambdas, * The ability to treat void...
More information
LanguageExt.
CodeGen
by:
louthy
.NET 5.0
.NET Core 2.0
.NET Standard 2.0
.NET Framework 4.6.1
277,397 total downloads
last updated
2/7/2024
Latest version:
4.4.8
C#
Functional
Language
Extension
Lenses
Records
Unions
Monad
Option
Either
More tags
Design and build-time code-gen for records, unions, lenses and immutable With functions
RhoMicro.
CodeAnalysis.
UnionsGenerator
by:
PaulBraetz
21,864 total downloads
last updated
3/26/2024
Latest version:
15.1.5
Source
Generator
Union
Types
Unions
Generate hybrid (tagged/type) union types.
FunctionalSharp.
DiscriminatedUnions
by:
patrickkk
.NET 5.0
.NET Core 2.0
.NET Standard 2.0
.NET Framework 4.6.1
28,924 total downloads
last updated
2/4/2018
Latest version:
0.9.106
Unions
Discriminated
Discriminated
Linq
lambda
Functional
This package provides Discriminated Unions for C#. This is the old backage. The new package is FunctionalSharp.DiscriminatedUnions.
SvSoft.
Analyzers.
ClosedTypeHierarchyDiagnosticSuppression
by:
shuebner
12,742 total downloads
last updated
1/31/2023
Latest version:
1.1.1
discriminated
unions
match
switch
Suppresses exhaustiveness warnings of switch statement and switch expressions when all cases of a "closed type hierarchy" are covered. See project URL for details. It suppresses IDE0010, IDE0072 and CS8509. It...
More information
DiscU
by:
jamesbascle
.NET 5.0
.NET Core 1.0
.NET Standard 1.3
.NET Framework 4.6
19,699 total downloads
last updated
2/16/2018
Latest version:
1.0.0.9
Discriminated
Union
Unions
Pattern
Matching
OneOf
Tagged
Sum
Type
Types
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...
More information
Unknown6656.
IndexableProperties
by:
unknown6656
.NET 5.0
.NET Core 2.0
.NET Standard 2.0
.NET Framework 4.6.1
4,370 total downloads
last updated
3/13/2022
Latest version:
1.1.0
unknown6656
discriminated
unions
Package Description
Sera.
Union
by:
Alvizel
.NET 5.0
.NET Core 2.0
.NET Standard 2.0
.NET Framework 4.6.1
2,601 total downloads
last updated
1/8/2024
Latest version:
0.7.0
union
tagged
discriminated
unions
Tagged union for c#
Unknown6656.
DiscriminatedUnions
by:
unknown6656
.NET 5.0
.NET Core 3.0
.NET Standard 2.1
2,069 total downloads
last updated
3/15/2022
Latest version:
1.1.1
unknown6656
discriminated
unions
Package Description
BMTLab.
StateResults
by:
BMTLab
.NET 6.0
1,836 total downloads
last updated
3/28/2024
Latest version:
4.0.328
unions
types
results
oneof
states
Contains union-types representing either a successful result or a union-list of possible errors
OneOf.
Signed
by:
fsharpfan
.NET 5.0
.NET Core 1.0
.NET Standard 1.1
.NET Framework 4.5
4,057 total downloads
last updated
1/25/2019
Latest version:
1.0.0
discriminated
unions
return
type
match
switch
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.
T4DU
by:
nugusev
.NET Framework 3.5
5,263 total downloads
last updated
11/12/2017
Latest version:
1.0.0-beta
t4
discriminated
unions
sum
type
algebraic
data
types
tagged
T4DU is a T4 template that generates discriminated cases for your C# projects.
BMTLab.
OneOf.
Reduced
by:
BMTLab
.NET 6.0
2,144 total downloads
last updated
4/23/2024
Latest version:
4.1.423
unions
types
results
oneof
states
Discriminated unions for C#, based on the well-known OneOf package, with modified functionality and other improvements
SvSoft.
OneOf.
Analyzers.
SwitchDiagnosticSuppression
by:
shuebner
2,199 total downloads
last updated
1/11/2023
Latest version:
1.1.0
discriminated
unions
match
switch
oneof
Suppresses exhaustiveness warnings of switch statement and switch expressions on OneOf<...>.Value from the OneOf library when all type arguments are covered. See project URL for details. It suppresses IDE0010,...
More information
GenericDataStructures
by:
PhilipAlexanderWallin
.NET 5.0
.NET Core 1.0
.NET Standard 1.0
.NET Framework 4.0
2,635 total downloads
last updated
5/22/2020
Latest version:
1.1.0
discriminated
unions
result
types
generic
return
data
Generic discriminating union types to be used as results when you want to make sure every return type is handled explicitly.
Previous
Next