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
49 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,335 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
Option.
Either
by:
Mroberts91
.NET 5.0
.NET Core 2.0
.NET Standard 2.0
.NET Framework 4.6.1
1,051 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.
Unknown6656.
DiscriminatedUnions
by:
unknown6656
.NET 5.0
.NET Core 3.0
.NET Standard 2.1
2,086 total downloads
last updated
3/15/2022
Latest version:
1.1.1
unknown6656
discriminated
unions
Package Description
OneOf.
Signed
by:
fsharpfan
.NET 5.0
.NET Core 1.0
.NET Standard 1.1
.NET Framework 4.5
4,085 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.
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
CSharp.
Made.
Functional
by:
th3oth3rjak3
.NET 6.0
2,393 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.
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.
ResultExtensions
by:
petyrbaelish
.NET 5.0
.NET Core 3.0
.NET Standard 2.1
1,233 total downloads
last updated
5/4/2024
Latest version:
3.2.0
Result
Extensions
Discriminated
Union
A extremely simple library providing a discriminated union type for .NET.
GenericDataStructures
by:
PhilipAlexanderWallin
.NET 5.0
.NET Core 1.0
.NET Standard 1.0
.NET Framework 4.0
2,639 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,494 total downloads
last updated
4/5/2024
Latest version:
1.0.5
discriminated
unions
match
switch
oneof
extensions
library
OneOf Extensions
ResultExtensions.
AspNetCore
by:
petyrbaelish
.NET 6.0
986 total downloads
last updated
5/4/2024
Latest version:
3.2.0
Result
Extensions
Discriminated
Union
Provides a set of extensions methods to produce responses based on the Result<T> type.
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.
ResultExtensions.
FluentAssertions
by:
petyrbaelish
.NET 6.0
590 total downloads
last updated
5/4/2024
Latest version:
3.2.0
Result
Extensions
Discriminated
Union
Provides a set of custom FluentAssertions extensions for the Result<T> type.
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,571 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,049 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#
Previous
Next