87 packages tagged with “Optional”
Async extensions for Nils Lück's Optional library.
Maybe/Optional monad implementation for C#. For more information see http://csharp-functional.readthedocs.io/en/latest/maybe-monad.html.
Makes all properties nullable just like in typescript utility Partial. Generate partial equivalent entity with optional nullable properties.
A library with Result types, such as Result and Optional.
Contains some useful interface definitions and implementations classes for .Net.
A library with monad-like extensions for Kontur.Results, such as Then and do-notation.
Simple optional types with basic helpers
Provides a class and a few extension methods to facilitate common operations with values that may or may not exist. Traditionally, programmers often use `null` references to represent values that "aren't there", but the problem is that this was never their intended purpose. - Languages like C# don't provide a way to differentiate between reference variables that can be null and those that are guaranteed not to be. - The inventor of null references has [apologized](http://en.wikipedia.org/wiki/Tony_Hoare#Quotations) for creating them in the first place, calling them his "billion-dollar mistake." - This misuse of null references has spread far and wide, leading to the unfortunately-named `Nullable<>` type (which, being a value type, is never actually null), and attributes like `[CanBeNull]` and `[NotNull]` to help programmers know when they can expect a method to treat a null value as legitimate input. All this leaves us in a position where our best hope of avoiding `NullReferenceException`s lies in trying to make sure that our reference variables are *never* null. But in that case, how do we indicate when a value is *optional*? Well, that's where `Maybe<>` comes in.
A utility library in .Net9.0 to easily add patterns such as CQRS
A library providing optional/Maybe functionality for .NET
Similar to Nullable<>, but for reference types
Provides a set of types that provide null safety and functional chaining, to enable a functional-like programming style in C#.
C# implementation of the Maybe (optional value) wrapper with fluent and LINQ APIs.
Add data attributes to setting class methods to validate input, set default values etc
A C# library that mimics F#'s optionals
Refit based web api client management, but resilient (retry, connectivity, cache, auth, log, priority...)
An Option type for C# (retargeted for netstandard). Forked from https://github.com/tejacques/Option. See https://github.com/bentefay/Option for documentation.
A utility library in .Net Standard 2.1 to easily add patterns such as Command, Query, Disptacher, Interception..and use of Optional.
NCommons is a set of several .NET libraries which provide common building blocks that can be used by any kind of library or application. This library provides several members which assist in writing type-safe and expressive code. Even though the package is called "Monads", the included members don't necessarily have to be monadic. In general, the goal of the package is to provide utility types, monadic or not, which assist in writing precise code that still looks and behaves like traditional C#. While inspired by functional programming languages, the provided types still look and feel like types that could come straight from the .NET Framework's BCL. Commonly Used Types: Optional<T> Variant<T1>, ..., Variant<T1,...,T8> You can find additional information and documentation on the library's GitHub page: https://github.com/manuelroemer/NCommons
An AutoFixture customization that allows AutoFixture to create Optional specimens.
Async extensions for optional types
Common types: Option<T>, Result<TOk, TError>; Methods: Try, TryAsync, Using, UsingAsync ...
A robust option type for C#.
This package provides the Bud.Option type.
Optional values for C# to model omitted values (undefined in javascript) and it has a JsonConvertor to support omitted values in Json.
A simple and easy to use option type for C#.
A type-safe way to handle nullable values in C#. Provides Optional<T> and OptionalValue<T> types with built-in JSON support and fluent API for nullable handling.
A utility library in .Net9.0 that adds AspNetCore behaviors to Xpandables.Net
Maybe monad