Show / Hide Table of Contents

Namespace DotNext

Classes

BasicExtensions

Various extension methods for core data types.

BitwiseComparer<T>

Represents bitwise comparer for the arbitrary value type.

CharComparer

Represents a character comparison operation that uses specific case and culture-based or ordinal comparison rules.

ConsoleLifetimeTokenSource

Represents a token that becomes canceled if the console application is requested to stop.

Converter

Provides extension methods for delegate Converter<TInput, TOutput> and predefined converters.

DelegateHelpers

Represents various extensions of delegates.

Disposable

Provides implementation of dispose pattern.

EnumConverter

Provides conversion between enum value and primitive types.

Func

Provides extension methods for delegate Func<TResult> and predefined functions.

GenericArgumentException

The exception that is thrown when one of the generic arguments provided to a type is not valid.

GenericArgumentException<T>

The exception that is thrown when one of the generic arguments provided to a type is not valid.

Optional

Various extension and factory methods for constructing optional value.

Predicate

Provides extension methods for type Predicate<T> and predefined predicates.

RandomExtensions

Provides random data generation.

Result

Represents extension methods for type Result<T>.

ServiceProviderFactory

Represents various ways for building IServiceProvider implementations.

ServiceProviderFactory.Builder

Represents builder of the service provider.

Span

Provides extension methods for type Span<T> and ReadOnlySpan<T>.

StringExtensions

Represents various extension methods for type string.

TupleExtensions

Provides extension methods for tuples.

UndefinedResultException<TError>

Indicates that the result of the operation is unavailable.

Structs

Activator<T>

Represents implementation of ISupplier<TResult> that acts as activator of type with public parameterless constructor.

ConsumerClosure<TContext, T>

Represents implementation of IConsumer<T> interface with the support of closure that is not allocated on the heap.

Consumer<T>

Represents typed function pointer implementing IConsumer<T>.

DelegatingConsumer<T>

Represents implementation of IConsumer<T> that delegates invocation to the delegate of type Action<T>.

DelegatingSupplier<TResult>

Represents implementation of ISupplier<TResult> that delegates invocation to the delegate of type Func<TResult>.

DelegatingSupplier<T, TResult>

Represents implementation of ISupplier<T, TResult> that delegates invocation to the delegate of type Func<T, TResult>.

DelegatingSupplier<T1, T2, TResult>

Represents implementation of ISupplier<T1, T2, TResult> that delegates invocation to the delegate of type Func<T1, T2, TResult>.

DisclosedEndpoint<T>

Represents disclosed range endpoint.

EnclosedEndpoint<T>

Represents enclosed range endpoint.

EqualityComparerBuilder<T>

Generates hash code and equality check functions for the particular type.

Optional<T>

A container object which may or may not contain a value.

Result<T>

Represents a result of operation which can be actual result or exception.

Result<T, TError>

Represents a result of operation which can be actual result or error code.

SupplierClosure<TContext, TResult>

Represents implementation of ISupplier<TResult> interface with the support of closure that is not allocated on the heap.

SupplierClosure<TContext, T, TResult>

Represents implementation of ISupplier<T, TResult> interface with the support of closure that is not allocated on the heap.

SupplierClosure<TContext, T1, T2, TResult>

Represents implementation of ISupplier<T, TResult> interface with the support of closure that is not allocated on the heap.

Supplier<TResult>

Represents typed function pointer implementing ISupplier<TResult>.

Supplier<T, TResult>

Represents typed function pointer implementing ISupplier<T, TResult>.

Supplier<T1, T2, TResult>

Represents typed function pointer implementing ISupplier<T1, T2, TResult>.

UserDataSlot<TValue>

Uniquely identifies user data which can be associated with any object.

UserDataStorage

Provides access to user data associated with the object.

ValueSupplier<T>

Represents constant value supplier.

Interfaces

IConsumer<T>

Represents functional interface returning no value and accepting the single argument.

IFiniteRangeEndpoint<T>

Represents finite range endpoint.

IOptionMonad<T>

Represents common interface for all option monads.

IOptionMonad<T, TSelf>

Represents common interface for all option monads.

IRangeEndpoint<T>

Represents range endpoint.

IResettable

Represents common contract for all mutable objects that support revert of their internal state.

IResultMonad<T, TError>

Represents common interface for Result monad.

IResultMonad<T, TError, TSelf>

Represents common interface for Result monad.

ISupplier<TResult>

Represents functional interface returning arbitrary value.

ISupplier<T, TResult>

Represents functional interface returning arbitrary value and accepting the single argument.

ISupplier<T1, T2, TResult>

Represents functional interface returning arbitrary value and accepting the two arguments.

UserDataStorage.IContainer

Implementation of this interface allows to customize behavior of GetUserData<T>(T) method.

Delegates

RefAction<T, TArgs>

Represents action that accepts arbitrary value by reference.

RefFunc<T, TArgs, TResult>

Represents delegate that accepts arbitrary value by reference and support return value.

☀
☾
In this article
Back to top
Supported by the .NET Foundation
☀
☾