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
51 packages returned for Tags:"Discriminated"
Sort by
Relevance
Downloads
Recently updated
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
535 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.
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.
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.
CS.
Result
by:
cristiansinescu
.NET 8.0
378 total downloads
last updated
1/17/2024
Latest version:
2.0.1
Discriminated
Union
Result
Object
Generic
response
type
Errors
micro-framework
A discriminated union implementation for the result object pattern.
OneOf_bargos
by:
bargos
.NET 5.0
.NET Core 1.0
.NET Standard 1.3
.NET Framework 3.5
139 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.
nemuikoneko.
DiscriminatedUnions
by:
nemuikoneko
.NET 5.0
.NET Core 2.0
.NET Standard 2.0
.NET Framework 4.6.1
302 total downloads
last updated
12/6/2022
Latest version:
1.0.0-alpha2
discriminated
tagged
union
unions
choice
type
variant
source
generator
C# source generator for creating discriminated unions.
W4k.
Either.
CodeGeneration
by:
wdolek
.NET 6.0
442 total downloads
last updated
7/6/2023
Latest version:
1.1.0
C#
Functional
Code
Generation
Language
Extension
Monad
Either
Maybe
Result
More tags
Source generator for creating discriminated union-like value type.
Emik.
SourceGenerators.
Choices
by:
Emik
1,542 total downloads
last updated
11/12/2023
Latest version:
1.2.0
Analyzer
Coproduct
Delegate
Discriminated
Disjoint
Either
Forwarder
Functional
Generator
Infer
More tags
Annotate [Choice] to transform your type into a highly performant and flexible disjoint union.
LMMarsano.
SumType
by:
lmmarsano
.NET 5.0
.NET Core 3.0
.NET Standard 2.1
563 total downloads
last updated
4/11/2019
Latest version:
0.0.0
discriminated
union
sum
type
tagged
union
algebraic
data
type
maybe
More tags
Some discriminated unions for C♯ 8.
ImToolsUnionEdition
by:
stone-w4tch3r
.NET 5.0
.NET Core 2.0
.NET Standard 2.0
.NET Framework 4.5
203 total downloads
last updated
3/16/2023
Latest version:
0.1.0
FP
Performance
Simple
Functional
Immutable
Persistent
Map
Avl
2-3Tree
Self
More tags
Extension for ImTools package. Forked from original source code. Contains classes like Unit or Union from old ImTools. No changes were made to their code. ---original description---...
More information
Previous
Next