Skip to main content
OneOf.DeconstructorExtensions package icon

OneOf.DeconstructorExtensions

This library extends OneOf and OneOfBase with deconstructors methods to deconstruct into the underlying types. All non-nullable value types are automatically converted into nullable types, so the deconstructed values will always have a single non-null value (all other values will be null).

Total Downloads
1.2K
1,224
Published
Aug 19, 2024
Latest stable version

Install

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

Frameworks

.NETFramework4.5 .NETStandard1.3 .NETStandard2.0

Dependencies

OneOf
.NETFramework4.5
[3.0.162, )
NETStandard.Library
.NETStandard1.3
[1.6.1, )
OneOf
.NETStandard1.3
[3.0.162, )
OneOf
.NETStandard2.0
[3.0.162, )

Adoption guide

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

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.