This package provides Discriminated Unions for C#. It provides a DiscriminatedUnion, DiscriminatedUnionWithBase, DiscriminatedUnionList. Their usage is explained on the project site.
See the version list below for details.
Install-Package DiscriminatedUnions -Version 0.5.5
dotnet add package DiscriminatedUnions --version 0.5.5
<PackageReference Include="DiscriminatedUnions" Version="0.5.5" />
paket add DiscriminatedUnions --version 0.5.5
- Added extension methods for List of Discriminated union so the add, addrange can be used for these lists.
This package has no dependencies.
This package is not used by any popular GitHub repositories.