MatchGenerator 0.0.1

There is a newer version of this package available.
See the version list below for details.
dotnet add package MatchGenerator --version 0.0.1                
NuGet\Install-Package MatchGenerator -Version 0.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="MatchGenerator" Version="0.0.1" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add MatchGenerator --version 0.0.1                
#r "nuget: MatchGenerator, 0.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 MatchGenerator as a Cake Addin
#addin nuget:?package=MatchGenerator&version=0.0.1

// Install MatchGenerator as a Cake Tool
#tool nuget:?package=MatchGenerator&version=0.0.1                

MatchGenerator

This is a package which generated a Match function on your enum types which are tagged with the [Match] attribute. This match function forces you to handle all cases of your enum type.

It comes in two forms:

  • The no-return version, which resembles switch statement.
  • The return version, which resembles switch expression.

Either way they are both exhaustive and will force you to handle all cases.

There are no supported framework assets in this package.

Learn more about Target Frameworks and .NET Standard.

  • .NETStandard 2.0

    • No dependencies.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
0.0.2 295 11/5/2023
0.0.1 165 11/5/2023