DiscriminatedUnions 0.7.2
dotnet add package DiscriminatedUnions --version 0.7.2
NuGet\Install-Package DiscriminatedUnions -Version 0.7.2
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="DiscriminatedUnions" Version="0.7.2" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add DiscriminatedUnions --version 0.7.2
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: DiscriminatedUnions, 0.7.2"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install DiscriminatedUnions as a Cake Addin #addin nuget:?package=DiscriminatedUnions&version=0.7.2 // Install DiscriminatedUnions as a Cake Tool #tool nuget:?package=DiscriminatedUnions&version=0.7.2
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
This package provides Discriminated Unions for C#. This is the old backage. The new package is FunctionalSharp.DiscriminatedUnions.
There are no supported framework assets in this package.
Learn more about Target Frameworks and .NET Standard.
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
- Added methods to allow types inherriting from DiscriminatedUnion to als use Match.
- improved the T4 template with generated code.