CSharpDiscriminatedUnion.Generator 2.0.1

Creates discriminated unions in C#. Define a template for a discriminated union and the appropriate code will be generated.

Requires NuGet 2.5 or higher.

Install-Package CSharpDiscriminatedUnion.Generator -Version 2.0.1
dotnet add package CSharpDiscriminatedUnion.Generator --version 2.0.1
<PackageReference Include="CSharpDiscriminatedUnion.Generator" Version="2.0.1">
  <PrivateAssets>all</PrivateAssets>
  <IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets>
</PackageReference>
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add CSharpDiscriminatedUnion.Generator --version 2.0.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: CSharpDiscriminatedUnion.Generator, 2.0.1"
#r directive can be used in F# Interactive, C# scripting and .NET Interactive. Copy this into the interactive tool or source code of the script to reference the package.
// Install CSharpDiscriminatedUnion.Generator as a Cake Addin
#addin nuget:?package=CSharpDiscriminatedUnion.Generator&version=2.0.1

// Install CSharpDiscriminatedUnion.Generator as a Cake Tool
#tool nuget:?package=CSharpDiscriminatedUnion.Generator&version=2.0.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Dependencies

This package has no dependencies.

NuGet packages (1)

Showing the top 1 NuGet packages that depend on CSharpDiscriminatedUnion.Generator:

Package Downloads
CSharpDiscriminatedUnion
Package Description

GitHub repositories

This package is not used by any popular GitHub repositories.

Version History

Version Downloads Last updated
2.0.1 2,007 4/14/2020