Namespace DotNext
Classes
BitwiseComparer<T>
Represents bitwise comparer for the arbitrary value type.
Comparison
Provides generic methods to work with comparable values.
Converter
Provides extension methods for delegate Converter<TInput,TOutput> and predefined converters.
DelegateHelpers
Represents various extensions of delegates.
Disposable
Provides implementation of dispose pattern.
Disposable<T>
Represents dispose pattern as a concept.
EnumConverter
Provides conversion between enum value and primitive types.
EnumerableTuple
Provides static methods allow to convert tuples into enumerable collections.
Func
Provides extension methods for delegate Func<TResult> and predefined functions.
Function
Provides extension methods for delegates Function<TArgs, TResult> and Function<T, TArgs, TResult>.
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.
ObjectExtensions
Various extension methods for reference types.
OneDimensionalArray
Provides specialized methods to work with one-dimensional array.
Optional
Various extension and factory methods for constructing optional value.
Predicate
Provides extension methods for type Predicate<T> and predefined predicates.
Procedure
Provides extension methods for delegates Procedure<TArgs> and Procedure<T, TArgs>.
RandomExtensions
Provides random data generation.
Result
Represents extension methods for type Result<T>.
Sequence
Various methods to work with classes implementing IEnumerable<T> interface.
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.
ValueTypeExtensions
Various extensions for value types.
Structs
Enum<TEnum>
Provides strongly typed way to reflect enum type.
EnumerableTuple<TItem, TTuple>
Represents tuple as enumerable collection.
EnumerableTuple<TItem, TTuple>.Enumerator
Represents enumerator over items in the tuple.
EqualityComparerBuilder<T>
Generates hash code and equality check functions for the particular type.
Number<T>
Represents any primitive numeric 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.
Sequence.LimitedEnumerator<T>
Wrapped for the enumerator which is limited by count.
UserDataSlot<TValue>
Uniquely identifies user data which can be associated with any object.
UserDataStorage
Provides access to user data associated with the object.
ValueAction
Represents a pointer to parameterless method with Void return type.
ValueAction<T>
Represents a pointer to the method with single parameter and Void return type.
ValueAction<T1, T2>
Represents a pointer to the method with two parameters and Void return type.
ValueAction<T1, T2, T3>
Represents a pointer to the method with three parameters and Void return type.
ValueAction<T1, T2, T3, T4>
Represents a pointer to the method with fourth parameters and Void return type.
ValueAction<T1, T2, T3, T4, T5>
Represents a pointer to the method with fifth parameters and Void return type.
ValueFunc<TResult>
Represents a pointer to parameterless method with return type.
ValueFunc<T, TResult>
Represents a pointer to the method with single parameter and return type.
ValueFunc<T1, T2, TResult>
Represents a pointer to the method with two parameters and return type.
ValueFunc<T1, T2, T3, TResult>
Represents a pointer to the method with three parameters and return type.
ValueFunc<T1, T2, T3, T4, TResult>
Represents a pointer to the method with four parameters and return type.
ValueFunc<T1, T2, T3, T4, T5, TResult>
Represents a pointer to the method with five parameters and return type.
ValueRefAction<T, TArgs>
Represents action that accepts arbitrary value by reference.
ValueRefFunc<T, TArgs, TResult>
Represents function that accepts arbitrary value by reference.
Interfaces
ICallable
Represents common interface for typed method pointers.
ICallable<TDelegate>
Represents common interface for typed method pointers.
IConvertible<T>
Represents common interface for objects that support explicit conversion to the particular type.
UserDataStorage.IContainer
Implementation of this interface allows to customize behavior of GetUserData<T>(T) method.
Enums
BoundType
Indicates whether an endpoint of some range is contained in the range itself ("closed") or not ("open").
Delegates
Function<TArgs, TResult>
Represents a static function with arbitrary number of arguments allocated on the stack.
Function<T, TArgs, TResult>
Represents an instance function with arbitrary number of arguments allocated on the stack.
Procedure<TArgs>
Represents a static procedure with arbitrary number of arguments allocated on the stack.
Procedure<T, TArgs>
Represents an instance procedure with arbitrary number of arguments allocated on the stack.
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.