Instead of null checks you can simply write for example Result.OrDefault(() => SelectedItem.Invoice.Employee.Name.ToString());.
Info
Version: | 1.0.9 |
Author(s): | Manuel Naujoks |
Last Update: | Monday, March 16, 2015 |
.NET Fiddle: | Create the first Fiddle |
Project Url: | https://github.com/halllo/Result.OrDefault |
NuGet Url: | https://www.nuget.org/packages/Result.OrDefault |
Install
Install-Package Result.OrDefault
dotnet add package Result.OrDefault
paket add Result.OrDefault
Result.OrDefault Download (Unzip the "nupkg" after downloading)
Dependencies
Tags