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
48 packages returned for Tags:"Discriminated"
Sort by
Relevance
Downloads
Recently updated
CSharpDiscriminatedUnion.
Attributes
by:
Galad
.NET 5.0
.NET Core 1.0
.NET Standard 1.0
.NET Framework 4.5
17,478 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
Sera.
Union
by:
Alvizel
.NET 5.0
.NET Core 2.0
.NET Standard 2.0
.NET Framework 4.6.1
2,392 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,006 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,044 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
3,977 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,259 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.
SvSoft.
OneOf.
Analyzers.
SwitchDiagnosticSuppression
by:
shuebner
2,144 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
CSharp.
Made.
Functional
by:
th3oth3rjak3
.NET 6.0
2,136 total downloads
last updated
3/26/2024
Latest version:
2.1.1
Functional
Option
Result
Union
Discriminated
A C# functional library which includes Option, Result, Union, and other helpful abstractions.
GenericDataStructures
by:
PhilipAlexanderWallin
.NET 5.0
.NET Core 1.0
.NET Standard 1.0
.NET Framework 4.0
2,624 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.
DiscriminatedUnion.
CS
by:
ronimizy
963 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.
OneOf.
Else
by:
HubiBoar
.NET 8.0
1,755 total downloads
last updated
3/25/2024
Latest version:
1.0.4
discriminated
unions
match
switch
oneof
extensions
library
OneOf Extensions
Sera.
Union.
Utilities
by:
Alvizel
.NET 5.0
.NET Core 2.0
.NET Standard 2.0
.NET Framework 4.6.1
480 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
793 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.
RhoMicro.
OneOf
by:
PaulBraetz
Deprecated
.NET 5.0
.NET Core 1.0
.NET Standard 1.3
.NET Framework 3.5
652 total downloads
last updated
8/19/2023
Latest version:
1.1.0
discriminated
unions
return
type
match
switch
This is a fork of the 'OneOf' package. Comments have been added to generated members, as well as other tweaks. See: https://github.com/mcintyre321/OneOf/pull/156 This package will be marked obsolete...
More information
CSharpDiscriminatedUnion.
Generator
by:
Galad
3,192 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.
Derive
by:
jcberleur
4,040 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.
RhoMicro.
OneOf.
Extended
by:
PaulBraetz
Deprecated
.NET 5.0
.NET Core 1.0
.NET Standard 1.3
.NET Framework 3.5
434 total downloads
last updated
8/19/2023
Latest version:
1.1.0
discriminated
unions
return
type
match
switch
This is a fork of the 'OneOf.Extended' package. Comments have been added to generated members, as well as other tweaks. See: https://github.com/mcintyre321/OneOf/pull/156 This package will be marked...
More information
OneOf.
Deconstruct
by:
anton.martyniuk
.NET 5.0
.NET Core 1.0
.NET Standard 1.3
.NET Framework 3.5
525 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#
W4k.
Either
by:
wdolek
.NET 6.0
2,488 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.
Generator
by:
jcberleur
4,814 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.
Previous
Next