SaferVariants 1.8.0
See the version list below for details.
dotnet add package SaferVariants --version 1.8.0
NuGet\Install-Package SaferVariants -Version 1.8.0
<PackageReference Include="SaferVariants" Version="1.8.0" />
<PackageVersion Include="SaferVariants" Version="1.8.0" />
<PackageReference Include="SaferVariants" />
paket add SaferVariants --version 1.8.0
#r "nuget: SaferVariants, 1.8.0"
#:package SaferVariants@1.8.0
#addin nuget:?package=SaferVariants&version=1.8.0
#tool nuget:?package=SaferVariants&version=1.8.0
An alternative to returning null and throwing exceptions as indications of a value being present and errors occurring.
The only purpose of this library is to (to the extent that it is possible) force checking if a value is present/ok before using it.
Currently, the way that that is achieved is by having an interface that can either be pattern matched against to get access to the value or by calling the methods that explicitly handle the case where the value is not present.
Inspired by the programming language Rust.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net5.0 was computed. net5.0-windows was computed. net6.0 was computed. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 was computed. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
.NET Core | netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
.NET Standard | netstandard2.1 is compatible. |
MonoAndroid | monoandroid was computed. |
MonoMac | monomac was computed. |
MonoTouch | monotouch was computed. |
Tizen | tizen60 was computed. |
Xamarin.iOS | xamarinios was computed. |
Xamarin.Mac | xamarinmac was computed. |
Xamarin.TVOS | xamarintvos was computed. |
Xamarin.WatchOS | xamarinwatchos was computed. |
-
.NETStandard 2.1
- No dependencies.
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
Adds the following async extension methods to IOption and IResult:
* HandleErrorAsync
* ThenAsync
These are found in the namespace SaferVariants.AsyncExtensions