Result.OrDefault
1.0.9
dotnet add package Result.OrDefault --version 1.0.9
NuGet\Install-Package Result.OrDefault -Version 1.0.9
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Result.OrDefault" Version="1.0.9" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Result.OrDefault --version 1.0.9
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Result.OrDefault, 1.0.9"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install Result.OrDefault as a Cake Addin #addin nuget:?package=Result.OrDefault&version=1.0.9 // Install Result.OrDefault as a Cake Tool #tool nuget:?package=Result.OrDefault&version=1.0.9
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
Instead of null checks you can simply write for example Result.OrDefault(() => SelectedItem.Invoice.Employee.Name.ToString());
There are no supported framework assets in this package.
Learn more about Target Frameworks and .NET Standard.
This package has no dependencies.
GitHub repositories
This package is not used by any popular GitHub repositories.