returned for Tags:"Null"
A class which defines a date which can have null for components (day, month, year) of the date.
Monads are logic in-between instructions and often called "programmable ; " a common monads (Maybe, Do, Return ....) that helps with null checks
Null Aware ToString
Null aware ToString magically calls ToString method on any object without throwing NullReferenceException.
Optional: A robust option type
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...
A option type that prevents using null or 'magic values' (NullObject, exit code -1, index out of range, etc.) in your code.
Useful Optional extensions for working with collections.
Roslyn analyzer for enforcing null contracts
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.
Ensure.Net is a null checker library for .NET
Provides extension methods for the Guardian source code package.
Guard is a simple class which helps you validate arguments.
A set of useful extension methods.
Null and default values checking, Strings helpers, basic validators.
A small library to navigate null-safely through objects.
Adds functional programming aspects using functions like Some, None, Ok, Error
Provides Methods to prevent NullReferenceExceptions