CSharpDiscriminatedUnion.Generator 2.0.1

Requires NuGet 2.5 or higher.

dotnet add package CSharpDiscriminatedUnion.Generator --version 2.0.1
                    
NuGet\Install-Package CSharpDiscriminatedUnion.Generator -Version 2.0.1
                    
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="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.
<PackageVersion Include="CSharpDiscriminatedUnion.Generator" Version="2.0.1" />
                    
Directory.Packages.props
<PackageReference Include="CSharpDiscriminatedUnion.Generator">
  <PrivateAssets>all</PrivateAssets>
  <IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets>
</PackageReference>
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add CSharpDiscriminatedUnion.Generator --version 2.0.1
                    
#r "nuget: CSharpDiscriminatedUnion.Generator, 2.0.1"
                    
#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.
#addin nuget:?package=CSharpDiscriminatedUnion.Generator&version=2.0.1
                    
Install CSharpDiscriminatedUnion.Generator as a Cake Addin
#tool nuget:?package=CSharpDiscriminatedUnion.Generator&version=2.0.1
                    
Install CSharpDiscriminatedUnion.Generator as a Cake Tool

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

There are no supported framework assets in this package.

Learn more about Target Frameworks and .NET Standard.

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 Downloads Last updated
2.0.1 7,745 4/14/2020