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
46 packages returned for Tags:"discriminated"
Sort by
Relevance
Downloads
Recently updated
Sera.
Union
by:
Alvizel
.NET 5.0
.NET Core 2.0
.NET Standard 2.0
.NET Framework 4.6.1
2,616 total downloads
last updated
1/8/2024
Latest version:
0.7.0
union
tagged
discriminated
unions
Tagged union for c#
CSharpDiscriminatedUnion.
Attributes
by:
Galad
.NET 5.0
.NET Core 1.0
.NET Standard 1.0
.NET Framework 4.5
18,326 total downloads
last updated
4/14/2020
Latest version:
2.0.1
Discriminated
union
tagged
union
sum
type
algebraic
data
type
functional
More tags
Contains the attributes for the nuget package CSharpDiscriminatedUnion
Unknown6656.
DiscriminatedUnions
by:
unknown6656
.NET 5.0
.NET Core 3.0
.NET Standard 2.1
2,083 total downloads
last updated
3/15/2022
Latest version:
1.1.1
unknown6656
discriminated
unions
Package Description
Option.
Either
by:
Mroberts91
.NET 5.0
.NET Core 2.0
.NET Standard 2.0
.NET Framework 4.6.1
1,049 total downloads
last updated
2/1/2021
Latest version:
1.0.0
Discriminated
Union
Discriminated
Union
Return
A simple library that adds a struct to be used as a discriminated union like return type.
OneOf.
Signed
by:
fsharpfan
.NET 5.0
.NET Core 1.0
.NET Standard 1.1
.NET Framework 4.5
4,082 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.
CSharp.
Made.
Functional
by:
th3oth3rjak3
.NET 6.0
2,389 total downloads
last updated
5/7/2024
Latest version:
2.2.0
Functional
Option
Result
Union
Discriminated
A C# functional library which includes Option, Result, Union, and other helpful abstractions.
SvSoft.
OneOf.
Analyzers.
SwitchDiagnosticSuppression
by:
shuebner
2,261 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
T4DU
by:
nugusev
.NET Framework 3.5
5,264 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.
GenericDataStructures
by:
PhilipAlexanderWallin
.NET 5.0
.NET Core 1.0
.NET Standard 1.0
.NET Framework 4.0
2,637 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.
OneOf.
Else
by:
HubiBoar
.NET 8.0
2,486 total downloads
last updated
4/5/2024
Latest version:
1.0.5
discriminated
unions
match
switch
oneof
extensions
library
OneOf Extensions
DiscriminatedUnion.
CS
by:
ronimizy
967 total downloads
last updated
4/22/2022
Latest version:
0.0.8-alpha
discriminated
union
csharp
A tool for implementing discriminated union in C# using Roslyn's source generators.
Sera.
Union.
Utilities
by:
Alvizel
.NET 5.0
.NET Core 2.0
.NET Standard 2.0
.NET Framework 4.6.1
505 total downloads
last updated
1/8/2024
Latest version:
0.7.0
union
tagged
discriminated
unions
Tagged union for c#
OneOf.
NET45
by:
ndrwrbgs
.NET 5.0
.NET Core 1.0
.NET Standard 1.3
.NET Framework 4.5
818 total downloads
last updated
8/22/2018
Latest version:
2.1.125
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.
CSharpDiscriminatedUnion.
Generator
by:
Galad
3,561 total downloads
last updated
4/14/2020
Latest version:
2.0.1
Discriminated
union
tagged
union
sum
type
algebraic
data
type
functional
More tags
Creates discriminated unions in C#. Define a template for a discriminated union and the appropriate code will be generated.
W4k.
Either
by:
wdolek
.NET 6.0
2,629 total downloads
last updated
11/4/2023
Latest version:
1.1.1
C#
Functional
Language
Extension
Monad
Either
Maybe
Result
OptionalResult
Discriminated
More tags
An 'Either' type for C#, inspired by FP. This sum type represents values of two (or more) possible types.
Derive
by:
jcberleur
4,047 total downloads
last updated
8/3/2019
Latest version:
0.1.2
derive
equal
equatable
comparable
ord
ordering
sumtype
tagged
union
discriminated
More tags
Contains code generator to provide basic implementations for some interfaces. See project site for installation instructions and more details.
OneOf.
Deconstruct
by:
anton.martyniuk
.NET 5.0
.NET Core 1.0
.NET Standard 1.3
.NET Framework 3.5
539 total downloads
last updated
10/17/2023
Latest version:
3.0.263
discriminated
unions
return
type
match
switch
deconstruction
An extension that offers a deconstruction to the popular OneOf library. OneOf provides the F#-like discriminated unions for C#
Derive.
Generator
by:
jcberleur
4,821 total downloads
last updated
8/3/2019
Latest version:
0.1.2
derive
equal
equatable
comparable
ord
ordering
sumtype
tagged
union
discriminated
More tags
Contains code generator to provide basic implementations for some interfaces. See project site for installation instructions and more details.
Derive.
Attributes
by:
jcberleur
.NET 5.0
.NET Core 2.0
.NET Standard 2.0
.NET Framework 4.6.1
5,128 total downloads
last updated
8/3/2019
Latest version:
0.1.2
derive
equal
equatable
comparable
ord
ordering
sumtype
tagged
union
discriminated
More tags
Defines [Derive] (DeriveAttribute) in global:: namespace; used to provide basic implementations for some interfaces. See project site for more details.
OneOf_bargos
by:
bargos
.NET 5.0
.NET Core 1.0
.NET Standard 1.3
.NET Framework 3.5
141 total downloads
last updated
8/10/2023
Latest version:
1.0.0
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.
Previous
Next