returned for Tags:"Null"
Optional is a robust option/maybe type for C#.
DEPRECATED: Optional.Extensions has been replaced by more specific packages. Check out Optional.Collections, Optional.Utilities etc.
Extended functionality for Optional.
Fluent Null check
Check argument and throw exception
- ShouldHaveValue (for T?)
Guardian. Mostly of null values.
An unobtrusive, lightweight, guard clause source code package: less than 300 lines of code.
Should be used like this:
Guard.Against.Null(() => parameter);
May be extended like this:
Guard.Against.Empty(() => collection);
Possibly the best...
Roslyn analyzer for enforcing null contracts
Ensure.Net is a null checker library for .NET
Useful Optional extensions for working with collections.
The Diagnostics library provides classes that help checking incoming parameters of a method using the Fluent API or not, depending on what you prefer.
Various useful functionality for Optional.
A safe monadic binder that will evaluate an expression chain and return an option type with information about whether the chain succeeded or not and where it failed.
A source code only package which allows you to use .NET Core 3.0's new nullable attributes in older target frameworks like .NET Standard 2.0 or the "old" .NET Framework.
This package does not contain any compiled binaries, but instead adds a single C# file with the attribute classes to your...
A class which defines a date which can have null for components (day, month, year) of the date.
Guard is a simple class which helps you validate arguments.
Provides extension methods for the Guardian source code package.
Adds functional programming aspects using functions like Some, None, Ok, Error
A simple and easy to use option type for C#.
Monads are logic in-between instructions and often called "programmable ; " a common monads (Maybe, Do, Return ....) that helps with null checks
Null aware ToString magically calls ToString method on any object without throwing NullReferenceException.
1,612 total downloads
Maybe is a value type (struct) that is guaranteed to never be NULL and either contain an object of the specified type or nothing at all.