OneOf by Harry McIntyre

<PackageReference Include="OneOf" Version="2.1.123" />

.NET API 10,614,272 bytes

 OneOf 2.1.123

F# style discriminated unions or C#, using a custom type OneOf<T0, ... Tn> which holds a single value and has a .Match(...) method on it for exhaustive matching. Simple but powerful.

<package xmlns="http://schemas.microsoft.com/packaging/2013/05/nuspec.xsd">
  <metadata>
    <id>OneOf</id>
    <version>2.1.123</version>
    <title>OneOf - Easy Discriminated Unions for c#</title>
    <authors>Harry McIntyre</authors>
    <owners>Harry McIntyre</owners>
    <requireLicenseAcceptance>false</requireLicenseAcceptance>
    <licenseUrl>https://github.com/mcintyre321/OneOf/blob/master/licence.md</licenseUrl>
    <projectUrl>https://github.com/mcintyre321/OneOf/</projectUrl>
    <description>F# style discriminated unions or C#, using a custom type OneOf&lt;T0, ... Tn&gt; which holds a single value and has a .Match(...) method on it for exhaustive matching. Simple but powerful.</description>
    <copyright>Harry McIntyre</copyright>
    <tags>discriminated unions, return type, match switch</tags>
    <dependencies>
      <group targetFramework=".NETFramework4.5.1" />
      <group targetFramework=".NETStandard1.3">
        <dependency id="NETStandard.Library" version="1.6.1" exclude="Build,Analyzers" />
      </group>
    </dependencies>
  </metadata>
</package>