Skip to main content
ShinySwitch package icon

ShinySwitch

You want to switch on type or value of an object? Or maybe on an instance of System.Type? As an expression or a statement? Try ShinySwitch :) At least while we wait for this https://github.com/dotnet/csharplang/blob/master/proposals/patterns.md.

Total Downloads
127.1K
127,110
Published
Mar 7, 2019
Latest stable version

Install

.NET CLI
dotnet add package ShinySwitch --version 1.0.76
Package Manager Console
Install-Package ShinySwitch -Version 1.0.76
PackageReference
<PackageReference Include="ShinySwitch" Version="1.0.76" />

Frameworks

.NETFramework4.5 .NETStandard1.1 .NETStandard2.0

Dependencies

NETStandard.Library
.NETStandard1.1
[1.6.1, )

Adoption guide

Assess this package against its supported frameworks, license, maintenance signals and dependency graph before making it a project standard.

No SPDX license expression is published. Review the license text and your organisation's policy before redistribution.

Compatibility metadata lists 3 target frameworks; confirm the exact target used by your application.

How to read this guidance

Sources: published NuGet v3 registry metadata and explicit NuBrowse editorial guides. Refresh: package metadata is refreshed from NuGet when the page loads. Limit: this is not a security, legal or compatibility guarantee; validate the selected version in your project.

Useful next steps

Move from package metadata to a concrete selection or review workflow.