75 packages returned for Tags:"Switch"

contains extions mehtods to create a functional switch, wich is described under http://bartdesmet.net/blogs/bart/archive/2008/03/30/a-functional-c-type-switch.aspx
This is a simple parser for command line options on .NET Framewrok & .NET Core. What you should do is only define your option class and write code like "var option = CommandLineSwicth.Parse<YourOptionClass>(ref args);". There is no need to annotate your option class with any attributes.
OneOf - Easy Discriminated Unions for c#
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.
Simple static 'Feature' class that is used to wrap App.Config AppSettings to enable/disable sections of code at runtime.