OptionalSharp 0.8.0
Yet another implementation of an option/optional type for .NET.
An Optional type explicitly represents the type of a value that may or may not exist. While you can do this with nulls, that has many drawbacks.
Some of the benefits of this library over some others include comprehensive equality support, rich debugging information, cleaner API, support for reflecting over Optionals, and more.
There is a newer version of this package available.
See the version list below for details.
See the version list below for details.
Install-Package OptionalSharp -Version 0.8.0
dotnet add package OptionalSharp --version 0.8.0
<PackageReference Include="OptionalSharp" Version="0.8.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add OptionalSharp --version 0.8.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
Dependencies
-
.NETStandard 1.4
- System.Reflection.TypeExtensions (>= 4.0.0 && < 5.0.0)
- System.Runtime.Serialization.Formatters (>= 4.0.0 && < 5.0.0)
-
.NETStandard 1.6
- System.Reflection.TypeExtensions (>= 4.0.0 && < 5.0.0)
- System.Runtime.Serialization.Formatters (>= 4.0.0 && < 5.0.0)
Used By
NuGet packages (1)
Showing the top 1 NuGet packages that depend on OptionalSharp:
Package | Downloads |
---|---|
OptionalSharp.More
Extension methods and other objects for integrating the Optional# Optional type into .NET.
|
GitHub repositories
This package is not used by any popular GitHub repositories.