Ecosyste.ms: Packages

An open API service providing package, version and dependency metadata of many open source software ecosystems and registries.

nuget.org : fenris.oneofcontrib.blazor

A collection of Blazor components for dealing with OneOf types in your Blazor project. Instead of writing a switch statement to handle the different cases of a OneOf type, you can use these components to render the correct component for the case. Example: <OneOfSwitch2 Value="myOneOfWithTwoTypeParameters"> <T0Template> <p>I am of type T0 and my value is @context!.</p> </T0Template> <T1Template> <p>I am of type T1 and my value is @context!.</p> </T1Template> </OneOfSwitch2>

Registry - Homepage - JSON
purl: pkg:nuget/fenris.oneofcontrib.blazor
Keywords: oneof, contrib, blazor, components, switch, c-sharp, discriminated-unions
License: MIT
Latest release: 4 months ago
First release: over 124 years ago
Downloads: 723 total
Stars: 0 on GitHub
Forks: 0 on GitHub
See more repository details: repos.ecosyste.ms
Last synced: 22 days ago

    Loading...
    Readme
    Loading...