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.
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 and Polyglot Notebooks. 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.
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,087 | 4/14/2020 |