diff --git a/src/OneOf.Extensions.Blazor/OneOf.Extensions.Blazor.csproj b/src/OneOf.Extensions.Blazor/OneOf.Extensions.Blazor.csproj index 05a9056..7a5f0ac 100644 --- a/src/OneOf.Extensions.Blazor/OneOf.Extensions.Blazor.csproj +++ b/src/OneOf.Extensions.Blazor/OneOf.Extensions.Blazor.csproj @@ -2,18 +2,52 @@ net8.0 - enable enable - + enable + true + Library - - - + OneOf.Extensions.Blazor + fenris.io + +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> + + https://github.com/fenrisdotio/OneOf.Extensions.Blazor + oneof extensions blazor components switch + README.md + LICENSE.txt + https://github.com/fenrisdotio/OneOf.Extensions.Blazor/blob/main/LICENSE.txt + + true + true + true + snupkg + true + + + + + + +