API Diff between 5.16.0 and 2.4.1
1236 Additions
189 Removals
DotNext
-
public struct Activator<T> : ISupplier<T>, IFunctional<Func<T>>
-
public static class BasicExtensions
-
public sealed class BitwiseComparer<T> : IEqualityComparer<T>, IComparer<T> where T : ValueType modreq(System.Runtime.InteropServices.UnmanagedType)
- public static int GetHashCode(ref T value, int hash, ref ValueFunc hashFunction, bool salted)
- public static int GetHashCode(ref T value, int hash, Func<int, int, int> hashFunction, bool salted = true)
-
public enum BoundType
-
public abstract class CharComparer : IEqualityComparer<char>, IComparer<char>
-
public static class Comparison
-
public struct Consumer<T> : IConsumer<T>, IFunctional<Action<T>>
-
public struct ConsumerClosure<TContext, T> : IConsumer<T>, IFunctional<Action<T>>
-
public static class Converter
- public static ValueFunc<TInput, TOutput> AsValueFunc<TInput, TOutput>(this Converter<TInput, TOutput> converter, bool wrap = false)
-
public static class DelegateHelpers
- public static Func<bool> Bind<T>(this Predicate<T> predicate, T obj)
- public static TDelegate CreateDelegate<TDelegate>(this MethodInfo method, object target = null) where TDelegate : Delegate
- public static RefAction<T, TArgs> CreateDelegate<T, TArgs>(method ptr)
- public static RefAction<TRef, TArgs> CreateDelegate<T, TRef, TArgs>(method ptr, T obj)
- public static RefFunc<T, TArgs, TResult> CreateDelegate<T, TArgs, TResult>(method ptr)
- public static RefFunc<TRef, TArgs, TResult> CreateDelegate<T, TRef, TArgs, TResult>(method ptr, T obj)
- public static Action CreateDelegate(method ptr)
- public static Action CreateDelegate<T>(method ptr, T obj)
- public static Action<T> CreateDelegate<T>(method ptr)
- public static Action<T1> CreateDelegate<T, T1>(method ptr, T obj)
- public static Func<TResult> CreateDelegate<TResult>(method ptr)
- public static Func<TResult> CreateDelegate<T, TResult>(method ptr, T obj)
- public static Action<T1, T2> CreateDelegate<T1, T2>(method ptr)
- public static Action<T1, T2> CreateDelegate<T, T1, T2>(method ptr, T obj)
- public static Func<T, TResult> CreateDelegate<T, TResult>(method ptr)
- public static Func<TArg, TResult> CreateDelegate<T, TArg, TResult>(method ptr, T obj)
- public static Action<T1, T2, T3> CreateDelegate<T1, T2, T3>(method ptr)
- public static Action<T1, T2, T3> CreateDelegate<T, T1, T2, T3>(method ptr, T obj)
- public static Func<T1, T2, TResult> CreateDelegate<T1, T2, TResult>(method ptr)
- public static Func<T1, T2, TResult> CreateDelegate<T, T1, T2, TResult>(method ptr, T obj)
- public static Action<T1, T2, T3, T4> CreateDelegate<T1, T2, T3, T4>(method ptr)
- public static Action<T1, T2, T3, T4> CreateDelegate<T, T1, T2, T3, T4>(method ptr, T obj)
- public static Func<T1, T2, T3, TResult> CreateDelegate<T1, T2, T3, TResult>(method ptr)
- public static Func<T1, T2, T3, TResult> CreateDelegate<T, T1, T2, T3, TResult>(method ptr, T obj)
- public static Action<T1, T2, T3, T4, T5> CreateDelegate<T1, T2, T3, T4, T5>(method ptr)
- public static Action<T1, T2, T3, T4, T5> CreateDelegate<T, T1, T2, T3, T4, T5>(method ptr, T obj)
- public static Func<T1, T2, T3, T4, TResult> CreateDelegate<T1, T2, T3, T4, TResult>(method ptr)
- public static Func<T1, T2, T3, T4, TResult> CreateDelegate<T, T1, T2, T3, T4, TResult>(method ptr, T obj)
- public static Action<T1, T2, T3, T4, T5, T6> CreateDelegate<T1, T2, T3, T4, T5, T6>(method ptr)
- public static Action<T1, T2, T3, T4, T5, T6> CreateDelegate<T, T1, T2, T3, T4, T5, T6>(method ptr, T obj)
- public static Func<T1, T2, T3, T4, T5, TResult> CreateDelegate<T1, T2, T3, T4, T5, TResult>(method ptr)
- public static Func<T1, T2, T3, T4, T5, TResult> CreateDelegate<T, T1, T2, T3, T4, T5, TResult>(method ptr, T obj)
- public static Func<T1, T2, T3, T4, T5, T6, TResult> CreateDelegate<T1, T2, T3, T4, T5, T6, TResult>(method ptr)
- public static Func<T1, T2, T3, T4, T5, T6, TResult> CreateDelegate<T, T1, T2, T3, T4, T5, T6, TResult>(method ptr, T obj)
- public static ReadOnlySpanAction<T, TArg> CreateDelegate<T, TArg>(method ptr)
- public static ReadOnlySpanAction<TItem, TArg> CreateDelegate<T, TItem, TArg>(method ptr, T obj)
- public static SpanAction<T, TArg> CreateDelegate<T, TArg>(method ptr)
- public static SpanAction<TItem, TArg> CreateDelegate<T, TItem, TArg>(method ptr, T obj)
- public static Action<T, TValue> CreateOpenDelegate<T, TValue>(Expression<Func<T, TValue>> properyExpr)
- public static Action HideReturnValue<TResult>(this Func<TResult> func)
- public static Action<T> HideReturnValue<T, TResult>(this Func<T, TResult> func)
- public static Func<T, CancellationToken, ValueTask> ToAsync<T>(this Action<T> action)
- public static Func<T, CancellationToken, ValueTask<TResult>> ToAsync<T, TResult>(this Func<T, TResult> action)
- public static Func<CancellationToken, ValueTask> ToAsync(this Action action)
- public static Func<CancellationToken, ValueTask<TResult>> ToAsync<TResult>(this Func<TResult> func)
- public static Func<T1, T2, CancellationToken, ValueTask> ToAsync<T1, T2>(this Action<T1, T2> action)
- public static Func<T1, T2, CancellationToken, ValueTask<TResult>> ToAsync<T1, T2, TResult>(this Func<T1, T2, TResult> func)
- public static Predicate<T> Unbind<T>(this Func<bool> func)
-
public struct DelegatingConsumer<T> : IConsumer<T>, IFunctional<Action<T>>, IEquatable<DelegatingConsumer<T>>
-
public struct DelegatingSupplier<TResult> : ISupplier<TResult>, IFunctional<Func<TResult>>, IEquatable<DelegatingSupplier<TResult>>
-
public struct DelegatingSupplier<T, TResult> : ISupplier<T, TResult>, IFunctional<Func<T, TResult>>, IEquatable<DelegatingSupplier<T, TResult>>
- public bool IsEmpty { get; }
- public DelegatingSupplier(Func<T, TResult> func)
- public static bool op_Equality(DelegatingSupplier<T, TResult> left, DelegatingSupplier<T, TResult> right)
- public static DelegatingSupplier<T, TResult> op_Implicit(Func<T, TResult> func)
- public static bool op_Inequality(DelegatingSupplier<T, TResult> left, DelegatingSupplier<T, TResult> right)
- public bool Equals(DelegatingSupplier<T, TResult> other)
-
public struct DelegatingSupplier<T1, T2, TResult> : ISupplier<T1, T2, TResult>, IFunctional<Func<T1, T2, TResult>>, IEquatable<DelegatingSupplier<T1, T2, TResult>>
- public bool IsEmpty { get; }
- public DelegatingSupplier(Func<T1, T2, TResult> func)
- public static bool op_Equality(DelegatingSupplier<T1, T2, TResult> left, DelegatingSupplier<T1, T2, TResult> right)
- public static DelegatingSupplier<T1, T2, TResult> op_Implicit(Func<T1, T2, TResult> func)
- public static bool op_Inequality(DelegatingSupplier<T1, T2, TResult> left, DelegatingSupplier<T1, T2, TResult> right)
- public bool Equals(DelegatingSupplier<T1, T2, TResult> other)
-
public struct DisclosedEndpoint<T> : IFiniteRangeEndpoint<T>, IRangeEndpoint<T> where T : IComparable<T>
-
public abstract class Disposable : IDisposable
-
public struct Enum<TEnum> : IEquatable<TEnum>, IComparable<TEnum>, IFormattable, IEquatable<Enum<TEnum>>, ISerializable, IConvertible<TEnum> where TEnum : struct, Enum
-
public struct EnclosedEndpoint<T> : IFiniteRangeEndpoint<T>, IRangeEndpoint<T> where T : IComparable<T>
-
public static class EnumConverter
- public static bool IsOneOf<T>(T value, T[] values) where T : struct, Enum
- public static byte ToByte<T>(T value) where T : struct, Enum
- public static T ToEnum<T>(long value) where T : struct, Enum
- public static T ToEnum<T>(int value) where T : struct, Enum
- public static T ToEnum<T>(short value) where T : struct, Enum
- public static T ToEnum<T>(byte value) where T : struct, Enum
- public static T ToEnum<T>(sbyte value) where T : struct, Enum
- public static T ToEnum<T>(ushort value) where T : struct, Enum
- public static T ToEnum<T>(uint value) where T : struct, Enum
- public static T ToEnum<T>(ulong value) where T : struct, Enum
- public static short ToInt16<T>(T value) where T : struct, Enum
- public static int ToInt32<T>(T value) where T : struct, Enum
- public static long ToInt64<T>(T value) where T : struct, Enum
- public static sbyte ToSByte<T>(T value) where T : struct, Enum
- public static ushort ToUInt16<T>(T value) where T : struct, Enum
- public static uint ToUInt32<T>(T value) where T : struct, Enum
- public static ulong ToUInt64<T>(T value) where T : struct, Enum
- public static TValue <TEnum, TValue>(TEnum value) where TEnum : struct, Enum where TValue : ValueType modreq(System.Runtime.InteropServices.UnmanagedType), INumberBase<TValue>, IConvertible
- public static TypeCode GetTypeCode<TEnum>() where TEnum : struct, Enum
- public static TEnum ToEnum<TEnum, TValue>(TValue value) where TEnum : struct, Enum where TValue : ValueType modreq(System.Runtime.InteropServices.UnmanagedType), INumberBase<TValue>, IConvertible
-
public static class EnumerableTuple
-
public struct EnumerableTuple<TItem, TTuple> : IReadOnlyList<TItem>, IEnumerable<TItem>, IEnumerable, IReadOnlyCollection<TItem> where TTuple : ITuple
-
public static class Func
-
public interface ICallable
-
public interface ICallable<TDelegate> : ICallable, IConvertible<TDelegate> where TDelegate : Delegate
-
public interface IConvertible<T>
-
public interface IConsumer<T> : IFunctional<Action<T>>
-
public interface IFiniteRangeEndpoint<T> : IRangeEndpoint<T>
-
public interface IOptionMonad<T> : ISupplier<object>, IFunctional<Func<object>>
-
public interface IOptionMonad<T, TSelf> : IOptionMonad<T>, ISupplier<object>, IFunctional<Func<object>> where TSelf : struct, IOptionMonad<T, TSelf>
-
public interface IRangeEndpoint<T>
-
public interface IResettable
-
public interface IResultMonad<T, TError> : IOptionMonad<T>, ISupplier<object>, IFunctional<Func<object>>
-
public interface IResultMonad<T, TError, TSelf> : IResultMonad<T, TError>, IOptionMonad<T>, ISupplier<object>, IFunctional<Func<object>>, IOptionMonad<T, TSelf> where TSelf : struct, IResultMonad<T, TError, TSelf>
-
public interface ISupplier<TResult> : IFunctional<Func<TResult>>
-
public interface ISupplier<T, TResult> : IFunctional<Func<T, TResult>>
-
public interface ISupplier<T1, T2, TResult> : IFunctional<Func<T1, T2, TResult>>
- TResult Invoke(T1 arg1, T2 arg2)
-
public static class ObjectExtensions
-
public static class OneDimensionalArray
-
public static class Optional
-
public struct Optional<T> : IEquatable<Optional<T>>, IEquatable<T>, IStructuralEquatable, IOptionMonad<T, Optional<T>>, IOptionMonad<T>, ISupplier<object>, IFunctional<Func<object>>
-
public static class Predicate
-
public static class RandomExtensions
- public static void GetItems<T>(this Random random, Span<T> buffer) where T : ValueType modreq(System.Runtime.InteropServices.UnmanagedType)
- public static void GetItems<T>(this RandomNumberGenerator random, Span<T> buffer) where T : ValueType modreq(System.Runtime.InteropServices.UnmanagedType)
- public static void NextChars(this Random random, ReadOnlySpan<char> allowedChars, Span<char> buffer)
- public static void NextChars(this RandomNumberGenerator random, ReadOnlySpan<char> allowedChars, Span<char> buffer)
- public static string NextString(this Random random, char[] allowedChars, int length)
- public static string NextString(this RandomNumberGenerator random, char[] allowedChars, int length)
- public static Optional<T> Peek<T>(this Random random, IReadOnlyCollection<T> collection)
- public static Optional<T> Peek<T>(this Random random, ReadOnlySpan<T> span)
- public static void Shuffle<T>(this Random random, IList<T> list)
-
public static class Result
-
public struct Result<T> : IResultMonad<T, Exception, Result<T>>, IResultMonad<T, Exception>, IOptionMonad<T>, ISupplier<object>, IFunctional<Func<object>>, IOptionMonad<T, Result<T>>
-
public struct Result<T, TError> : IResultMonad<T, TError, Result<T, TError>>, IResultMonad<T, TError>, IOptionMonad<T>, ISupplier<object>, IFunctional<Func<object>>, IOptionMonad<T, Result<T, TError>> where TError : struct, Enum
- public TError Error { get; }
- public bool IsSuccessful { get; }
- public T Value { get; }
- public T ValueOrDefault { get; }
- public T& modreq(System.Runtime.InteropServices.InAttribute) ValueRef { get; }
- public Result(T value)
- public Result(TError error)
- public static bool op_BitwiseAnd(ref Result left, ref Result right)
- public static T op_BitwiseOr(ref Result result, T defaultValue)
- public static Result<T, TError> op_BitwiseOr(ref Result x, ref Result y)
- public static T op_Explicit(ref Result result)
- public static bool op_False(ref Result result)
- public static Optional<T> op_Implicit(ref Result result)
- public static Result<T> op_Implicit(ref Result result)
- public static Result<T, TError> op_Implicit(T result)
- public static bool op_True(ref Result result)
- public Result<object, TError> Box()
- public Result<TResult, TError> Convert<TResult>(Converter<T, TResult> converter)
- public Result<TResult, TError> Convert<TResult>(method converter)
- public T Or(T defaultValue)
- public T OrInvoke(Func<T> defaultFunc)
- public T OrInvoke(method defaultFunc)
- public T OrInvoke(Func<TError, T> defaultFunc)
- public T OrInvoke(method defaultFunc)
- public T OrThrow(Func<TError, Exception> exceptionFactory)
- public T OrThrow(method exceptionFactory)
- public Result<T> ToResult()
- public bool TryGet(out T value)
- public Optional<T> TryGet()
-
public static class Sequence
-
public static class ServiceProviderFactory
- public sealed class Builder : ISupplier<IServiceProvider>, IFunctional<Func<IServiceProvider>>, IResettable
- public static readonly IServiceProvider Empty
- public static IServiceProvider Create<T>(T service, IServiceProvider fallback = null)
- public static IServiceProvider Create<T1, T2>(T1 service1, T2 service2, IServiceProvider fallback = null)
- public static IServiceProvider Create<T1, T2, T3>(T1 service1, T2 service2, T3 service3, IServiceProvider fallback = null)
- public static IServiceProvider Create<T1, T2, T3, T4>(T1 service1, T2 service2, T3 service3, T4 service4, IServiceProvider fallback = null)
- public static IServiceProvider Create<T1, T2, T3, T4, T5>(T1 service1, T2 service2, T3 service3, T4 service4, T5 service5, IServiceProvider fallback = null)
- public static Func<object[], IServiceProvider, IServiceProvider> CreateDelegatingFactory(Type[] types)
- public static Func<T, IServiceProvider, IServiceProvider> CreateDelegatingFactory<T>()
- public static Func<T1, T2, IServiceProvider, IServiceProvider> CreateDelegatingFactory<T1, T2>()
- public static Func<T1, T2, T3, IServiceProvider, IServiceProvider> CreateDelegatingFactory<T1, T2, T3>()
- public static Func<T1, T2, T3, T4, IServiceProvider, IServiceProvider> CreateDelegatingFactory<T1, T2, T3, T4>()
- public static Func<T1, T2, T3, T4, T5, IServiceProvider, IServiceProvider> CreateDelegatingFactory<T1, T2, T3, T4, T5>()
- public static Func<object[], IServiceProvider> CreateFactory(Type[] types)
- public static Func<T, IServiceProvider> CreateFactory<T>()
- public static Func<T1, T2, IServiceProvider> CreateFactory<T1, T2>()
- public static Func<T1, T2, T3, IServiceProvider> CreateFactory<T1, T2, T3>()
- public static Func<T1, T2, T3, T4, IServiceProvider> CreateFactory<T1, T2, T3, T4>()
- public static Func<T1, T2, T3, T4, T5, IServiceProvider> CreateFactory<T1, T2, T3, T4, T5>()
- public static IServiceProvider FromTuple<T>(T tuple, IServiceProvider fallback = null) where T : struct, ITuple
-
public static class Span
- public static ReadOnlySpan<T> Advance<T>(this ref ReadOnlySpan source, int count)
- public static T& modreq(System.Runtime.InteropServices.InAttribute) Advance<T>(this ref ReadOnlySpan source)
- public static Span<T> Advance<T>(this ref Span source, int count)
- public static ref T Advance<T>(this ref Span source)
- public static int BitwiseCompare<T>(this Span<T> first, Span<T> second) where T : ValueType modreq(System.Runtime.InteropServices.UnmanagedType)
- public static bool BitwiseEquals<T>(this Span<T> first, Span<T> second) where T : ValueType modreq(System.Runtime.InteropServices.UnmanagedType)
- public static int BitwiseHashCode<T>(this Span<T> span, bool salted = true) where T : ValueType modreq(System.Runtime.InteropServices.UnmanagedType)
- public static int BitwiseHashCode<T>(this ReadOnlySpan<T> span, bool salted = true) where T : ValueType modreq(System.Runtime.InteropServices.UnmanagedType)
- public static int BitwiseHashCode<T>(this Span<T> span, int hash, ref ValueFunc hashFunction, bool salted = true) where T : ValueType modreq(System.Runtime.InteropServices.UnmanagedType)
- public static int BitwiseHashCode<T>(this Span<T> span, int hash, Func<int, int, int> hashFunction, bool salted = true) where T : ValueType modreq(System.Runtime.InteropServices.UnmanagedType)
- public static int BitwiseHashCode<T>(this ReadOnlySpan<T> span, int hash, ref ValueFunc hashFunction, bool salted = true) where T : ValueType modreq(System.Runtime.InteropServices.UnmanagedType)
- public static int BitwiseHashCode<T>(this ReadOnlySpan<T> span, int hash, Func<int, int, int> hashFunction, bool salted = true) where T : ValueType modreq(System.Runtime.InteropServices.UnmanagedType)
- public static long BitwiseHashCode64<T>(this Span<T> span, long hash, ref ValueFunc hashFunction, bool salted = true) where T : ValueType modreq(System.Runtime.InteropServices.UnmanagedType)
- public static long BitwiseHashCode64<T>(this Span<T> span, long hash, Func<long, long, long> hashFunction, bool salted = true) where T : ValueType modreq(System.Runtime.InteropServices.UnmanagedType)
- public static long BitwiseHashCode64<T>(this ReadOnlySpan<T> span, long hash, ref ValueFunc hashFunction, bool salted = true) where T : ValueType modreq(System.Runtime.InteropServices.UnmanagedType)
- public static long BitwiseHashCode64<T>(this ReadOnlySpan<T> span, long hash, Func<long, long, long> hashFunction, bool salted = true) where T : ValueType modreq(System.Runtime.InteropServices.UnmanagedType)
- public static long BitwiseHashCode64<T>(this Span<T> span, bool salted = true) where T : ValueType modreq(System.Runtime.InteropServices.UnmanagedType)
- public static long BitwiseHashCode64<T>(this ReadOnlySpan<T> span, bool salted = true) where T : ValueType modreq(System.Runtime.InteropServices.UnmanagedType)
- public static void ForEach<T>(this Span<T> span, ref ValueRefAction action)
- public static bool CheckMask<T>(this ReadOnlySpan<T> value, ReadOnlySpan<T> mask) where T : ValueType modreq(System.Runtime.InteropServices.UnmanagedType)
- public static MemoryOwner<T> Concat<T>(this ReadOnlySpan<T> first, ReadOnlySpan<T> second, MemoryAllocator<T> allocator = null)
- public static MemoryOwner<T> Concat<T>(this ReadOnlySpan<T> first, ReadOnlySpan<T> second, ReadOnlySpan<T> third, MemoryAllocator<T> allocator = null)
- public static MemoryOwner<char> Concat(ReadOnlySpan<string> values, MemoryAllocator<char> allocator = null)
- public static ReadOnlySpan<TBase> Contravariance<T, TBase>(this ReadOnlySpan<T> span) where T : TBase
- public static MemoryOwner<T> Copy<T>(this ReadOnlySpan<T> span, MemoryAllocator<T> allocator = null)
- public static void CopyTo<T>(this ReadOnlySpan<T> source, Span<T> destination, out int writtenCount)
- public static void CopyTo<T>(this Span<T> source, Span<T> destination, out int writtenCount)
- public static Optional<T> FirstOrNone<T>(this ReadOnlySpan<T> span, Predicate<T> filter = null)
- public static int FromHex(this ReadOnlySpan<char> chars, Span<byte> output)
- public static byte[] FromHex(this ReadOnlySpan<char> chars)
- public static int IndexOf<T>(this ReadOnlySpan<T> span, T value, int startIndex, ref ValueFunc comparer)
- public static void ForEach<T, TArg>(this Span<T> span, method action, TArg arg)
- public static T Read<T>(ref ReadOnlySpan bytes) where T : ValueType modreq(System.Runtime.InteropServices.UnmanagedType)
- public static void Sort<T>(this Span<T> span, IComparer<T> comparison = null)
- public static void Sort<T>(this Span<T> span, ref ValueFunc comparison)
- public static void Sort<T>(this Span<T> span, Comparison<T> comparison)
- public static int ToHex(this ReadOnlySpan<byte> bytes, Span<char> output, bool lowercased = false)
- public static string ToHex(this ReadOnlySpan<byte> bytes, bool lowercased = false)
- public static int IndexOf<T>(this ReadOnlySpan<T> span, T value, int startIndex, method comparer)
- public static void Initialize<T>(this Span<T> span)
- public static bool IsBitwiseAndNonZero<T>(this ReadOnlySpan<T> value, ReadOnlySpan<T> mask) where T : ValueType modreq(System.Runtime.InteropServices.UnmanagedType)
- public static void Move<T>(this Span<T> span, Range range, Index destinationIndex)
- public static void Sort<T>(this Span<T> span, method comparison)
- public static void Swap<T>(this Span<T> x, Span<T> y)
- public static void Swap<T>(this Span<T> span, Range range1, Range range2)
- public static void Write<T>(ref T value, ref Span output) where T : ValueType modreq(System.Runtime.InteropServices.UnmanagedType)
- public static Span<T> TrimLength<T>(this Span<T> span, int maxLength, out Span rest)
-
public static class StringExtensions
-
public struct Supplier<TResult> : ISupplier<TResult>, IFunctional<Func<TResult>>
-
public struct Supplier<T, TResult> : ISupplier<T, TResult>, IFunctional<Func<T, TResult>>
-
public struct Supplier<T1, T2, TResult> : ISupplier<T1, T2, TResult>, IFunctional<Func<T1, T2, TResult>>
-
public struct SupplierClosure<TContext, TResult> : ISupplier<TResult>, IFunctional<Func<TResult>>
-
public struct SupplierClosure<TContext, T, TResult> : ISupplier<T, TResult>, IFunctional<Func<T, TResult>>
-
public struct SupplierClosure<TContext, T1, T2, TResult> : ISupplier<T1, T2, TResult>, IFunctional<Func<T1, T2, TResult>>
-
public static class TupleExtensions
-
public sealed class UndefinedResultException<TError> : Exception where TError : struct, Enum
-
public struct UserDataSlot<TValue> : IEquatable<UserDataSlot<TValue>>
-
public struct UserDataStorage
- public bool IsValid { get; }
- public IReadOnlyDictionary<string, object> Capture()
- public TValue GetOrSet<TValue>(UserDataSlot<TValue> slot, method valueFactory)
- public TValue GetOrSet<T, TValue>(UserDataSlot<TValue> slot, T arg, method valueFactory)
- public TValue GetOrSet<TValue>(UserDataSlot<TValue> slot, ref ValueFunc valueFactory)
- public TValue GetOrSet<T, TValue>(UserDataSlot<TValue> slot, T arg, ref ValueFunc valueFactory)
- public TValue GetOrSet<T1, T2, TValue>(UserDataSlot<TValue> slot, T1 arg1, T2 arg2, ref ValueFunc valueFactory)
- public TValue GetOrSet<T1, T2, TValue>(UserDataSlot<TValue> slot, T1 arg1, T2 arg2, method valueFactory)
- public TValue GetOrSet<TValue, TFactory>(UserDataSlot<TValue> slot, TFactory valueFactory) where TFactory : struct, ISupplier<TValue>
-
public struct ValueAction : IValueDelegate<Action>, ICallable<Action>, ICallable, IConvertible<Action>, ISupplier<Action>, IEquatable<ValueAction>
-
public struct ValueAction<T> : IValueDelegate<Action<T>>, ICallable<Action<T>>, ICallable, IConvertible<Action<T>>, ISupplier<Action<T>>, IEquatable<ValueAction<T>>, IConsumer<T>
-
public struct ValueAction<T1, T2> : IValueDelegate<Action<T1, T2>>, ICallable<Action<T1, T2>>, ICallable, IConvertible<Action<T1, T2>>, ISupplier<Action<T1, T2>>, IEquatable<ValueAction<T1, T2>>
-
public struct ValueAction<T1, T2, T3> : IValueDelegate<Action<T1, T2, T3>>, ICallable<Action<T1, T2, T3>>, ICallable, IConvertible<Action<T1, T2, T3>>, ISupplier<Action<T1, T2, T3>>, IEquatable<ValueAction<T1, T2, T3>>
-
public struct ValueAction<T1, T2, T3, T4> : IValueDelegate<Action<T1, T2, T3, T4>>, ICallable<Action<T1, T2, T3, T4>>, ICallable, IConvertible<Action<T1, T2, T3, T4>>, ISupplier<Action<T1, T2, T3, T4>>, IEquatable<ValueAction<T1, T2, T3, T4>>
-
public struct ValueAction<T1, T2, T3, T4, T5> : IValueDelegate<Action<T1, T2, T3, T4, T5>>, ICallable<Action<T1, T2, T3, T4, T5>>, ICallable, IConvertible<Action<T1, T2, T3, T4, T5>>, ISupplier<Action<T1, T2, T3, T4, T5>>, IEquatable<ValueAction<T1, T2, T3, T4, T5>>
-
public struct ValueFunc<TResult> : IValueDelegate<Func<TResult>>, ICallable<Func<TResult>>, ICallable, IConvertible<Func<TResult>>, ISupplier<Func<TResult>>, IEquatable<ValueFunc<TResult>>, ISupplier<TResult>
-
public struct ValueFunc<T, TResult> : IValueDelegate<Func<T, TResult>>, ICallable<Func<T, TResult>>, ICallable, IConvertible<Func<T, TResult>>, ISupplier<Func<T, TResult>>, IValueDelegate<Converter<T, TResult>>, ICallable<Converter<T, TResult>>, IConvertible<Converter<T, TResult>>, ISupplier<Converter<T, TResult>>, IEquatable<ValueFunc<T, TResult>>
-
public struct ValueFunc<T1, T2, TResult> : IValueDelegate<Func<T1, T2, TResult>>, ICallable<Func<T1, T2, TResult>>, ICallable, IConvertible<Func<T1, T2, TResult>>, ISupplier<Func<T1, T2, TResult>>, IEquatable<ValueFunc<T1, T2, TResult>>, ISupplier<T1, T2, TResult>
-
public struct ValueFunc<T1, T2, T3, TResult> : IValueDelegate<Func<T1, T2, T3, TResult>>, ICallable<Func<T1, T2, T3, TResult>>, ICallable, IConvertible<Func<T1, T2, T3, TResult>>, ISupplier<Func<T1, T2, T3, TResult>>, IEquatable<ValueFunc<T1, T2, T3, TResult>>
-
public struct ValueFunc<T1, T2, T3, T4, TResult> : IValueDelegate<Func<T1, T2, T3, T4, TResult>>, ICallable<Func<T1, T2, T3, T4, TResult>>, ICallable, IConvertible<Func<T1, T2, T3, T4, TResult>>, ISupplier<Func<T1, T2, T3, T4, TResult>>, IEquatable<ValueFunc<T1, T2, T3, T4, TResult>>
-
public struct ValueFunc<T1, T2, T3, T4, T5, TResult> : IValueDelegate<Func<T1, T2, T3, T4, T5, TResult>>, ICallable<Func<T1, T2, T3, T4, T5, TResult>>, ICallable, IConvertible<Func<T1, T2, T3, T4, T5, TResult>>, ISupplier<Func<T1, T2, T3, T4, T5, TResult>>, IEquatable<ValueFunc<T1, T2, T3, T4, T5, TResult>>
-
public struct ValueRefAction<T, TArgs> : IValueDelegate<RefAction<T, TArgs>>, ICallable<RefAction<T, TArgs>>, ICallable, IConvertible<RefAction<T, TArgs>>, ISupplier<RefAction<T, TArgs>>, IEquatable<ValueRefAction<T, TArgs>>
-
public struct ValueRefFunc<T, TArgs, TResult> : IValueDelegate<RefFunc<T, TArgs, TResult>>, ICallable<RefFunc<T, TArgs, TResult>>, ICallable, IConvertible<RefFunc<T, TArgs, TResult>>, ISupplier<RefFunc<T, TArgs, TResult>>, IEquatable<ValueRefFunc<T, TArgs, TResult>>
-
public static class ValueTypeExtensions
-
public struct ValueSupplier<T> : ISupplier<T>, IFunctional<Func<T>>
DotNext.Buffers
-
public struct ArrayRental<T> : IMemoryOwner<T>, IDisposable, IConvertible<Memory<T>>, IConvertible<ArraySegment<T>>, IConvertible<MemoryOwner<T>>
-
public static class ChunkSequence
-
public struct ChunkSequence<T> : IEnumerable<ReadOnlyMemory<T>>, IEnumerable
-
public static class MemoryAllocator
-
public struct BufferConsumer<T> : IReadOnlySpanConsumer<T>, ISupplier<ReadOnlyMemory<T>, CancellationToken, ValueTask>, IFunctional<Func<ReadOnlyMemory<T>, CancellationToken, ValueTask>>, IEquatable<BufferConsumer<T>>
-
public abstract class BufferWriter<T> : Disposable, IBufferWriter<T>, ISupplier<ReadOnlyMemory<T>>, IFunctional<Func<ReadOnlyMemory<T>>>, IReadOnlyList<T>, IEnumerable<T>, IEnumerable, IReadOnlyCollection<T>, IGrowableBuffer<T>, IReadOnlySpanConsumer<T>, ISupplier<ReadOnlyMemory<T>, CancellationToken, ValueTask>, IFunctional<Func<ReadOnlyMemory<T>, CancellationToken, ValueTask>>, IDisposable, IResettable
-
public struct BufferWriterInterpolatedStringHandler
-
public struct BufferWriterSlim<T>
-
public struct BufferWriterSlimInterpolatedStringHandler
-
public static class ByteBuffer
- public static int Format<T>(this IBufferWriter<byte> writer, T value, ReadOnlySpan<char> format = default, IFormatProvider provider = null) where T : IUtf8SpanFormattable
- public static int Format<T>(this ref BufferWriterSlim writer, T value, ReadOnlySpan<char> format = default, IFormatProvider provider = null) where T : IUtf8SpanFormattable
- public static T Read<T>(this ref SpanReader reader) where T : IBinaryFormattable<T>
- public static T ReadBigEndian<T>(this ref SpanReader reader) where T : IBinaryInteger<T>
- public static T ReadLeb128<T>(this ref SpanReader reader) where T : struct, IBinaryInteger<T>
- public static T ReadLittleEndian<T>(this ref SpanReader reader) where T : IBinaryInteger<T>
- public static bool TryFormat<T>(this ref SpanWriter writer, T value, ReadOnlySpan<char> format = default, IFormatProvider provider = null) where T : IUtf8SpanFormattable
- public static bool TryRead<T>(this ref SpanReader reader, out T value) where T : IBinaryFormattable<T>
- public static bool TryWrite<T>(this ref SpanWriter writer, T value) where T : IBinaryFormattable<T>
- public static bool TryWrite(this ref SpanWriter writer, ref BigInteger value, bool isBigEndian = false, bool isUnsigned = false)
- public static void Write<T>(this IBufferWriter<byte> writer, T value) where T : IBinaryFormattable<T>
- public static int Write(this IBufferWriter<byte> writer, ref BigInteger value, bool isBigEndian = false, bool isUnsigned = false)
- public static void Write<T>(this ref BufferWriterSlim writer, T value) where T : IBinaryFormattable<T>
- public static int Write(this ref BufferWriterSlim writer, ref BigInteger value, bool isBigEndian = false, bool isUnsigned = false)
- public static void Write<T>(this ref SpanWriter writer, T value) where T : IBinaryFormattable<T>
- public static int WriteBigEndian<T>(this IBufferWriter<byte> writer, T value) where T : IBinaryInteger<T>
- public static int WriteBigEndian<T>(this ref BufferWriterSlim writer, T value) where T : IBinaryInteger<T>
- public static int WriteBigEndian<T>(this ref SpanWriter writer, T value) where T : IBinaryInteger<T>
- public static int WriteLeb128<T>(this ref SpanWriter writer, T value) where T : struct, IBinaryInteger<T>
- public static int WriteLeb128<T>(this ref BufferWriterSlim writer, T value) where T : struct, IBinaryInteger<T>
- public static int WriteLittleEndian<T>(this IBufferWriter<byte> writer, T value) where T : IBinaryInteger<T>
- public static int WriteLittleEndian<T>(this ref BufferWriterSlim writer, T value) where T : IBinaryInteger<T>
- public static int WriteLittleEndian<T>(this ref SpanWriter writer, T value) where T : IBinaryInteger<T>
-
public static class CharBuffer
- public static void Concat(this IBufferWriter<char> writer, ReadOnlySpan<string> values)
- public static void Concat(this ref BufferWriterSlim writer, ReadOnlySpan<string> values)
- public static int Format<T>(this IBufferWriter<char> writer, T value, string format = null, IFormatProvider provider = null)
- public static int Format(this IBufferWriter<char> writer, CompositeFormat format, ReadOnlySpan<object> args, IFormatProvider provider = null)
- public static int Format<T>(this ref BufferWriterSlim writer, T value, string format = null, IFormatProvider provider = null)
- public static int Format(this ref BufferWriterSlim writer, CompositeFormat format, ReadOnlySpan<object> args, IFormatProvider provider = null)
- public static int Interpolate(this IBufferWriter<char> writer, IFormatProvider provider, ref BufferWriterInterpolatedStringHandler handler)
- public static int Interpolate(this IBufferWriter<char> writer, ref BufferWriterInterpolatedStringHandler handler)
- public static int Interpolate(this ref BufferWriterSlim writer, IFormatProvider provider, ref BufferWriterSlimInterpolatedStringHandler handler)
- public static int Interpolate(this ref BufferWriterSlim writer, ref BufferWriterSlimInterpolatedStringHandler handler)
- public static bool TryFormat<T>(this ref SpanWriter writer, T value, ReadOnlySpan<char> format = default, IFormatProvider provider = null) where T : ISpanFormattable
- public static bool TryFormat(this ref SpanWriter writer, CompositeFormat format, ReadOnlySpan<object> args, IFormatProvider provider = null)
- public static void Write(this IBufferWriter<char> writer, StringBuilder input)
- public static void Write(this ref BufferWriterSlim writer, StringBuilder input)
- public static void Write(this ref SpanWriter writer, StringBuilder input)
- public static void WriteLine(this IBufferWriter<char> writer)
- public static void WriteLine(this IBufferWriter<char> writer, ReadOnlySpan<char> characters)
- public static void WriteLine(this ref BufferWriterSlim writer)
- public static void WriteLine(this ref BufferWriterSlim writer, ReadOnlySpan<char> characters)
-
public struct DelegatingReadOnlySpanConsumer<T, TArg> : IReadOnlySpanConsumer<T>, ISupplier<ReadOnlyMemory<T>, CancellationToken, ValueTask>, IFunctional<Func<ReadOnlyMemory<T>, CancellationToken, ValueTask>>
-
public interface IGrowableBuffer<T> : IReadOnlySpanConsumer<T>, ISupplier<ReadOnlyMemory<T>, CancellationToken, ValueTask>, IFunctional<Func<ReadOnlyMemory<T>, CancellationToken, ValueTask>>, IDisposable, IResettable
-
public interface IReadOnlySpanConsumer<T> : ISupplier<ReadOnlyMemory<T>, CancellationToken, ValueTask>, IFunctional<Func<ReadOnlyMemory<T>, CancellationToken, ValueTask>>
-
public static class Memory
- public static MemoryOwner<T> AllocateAtLeast<T>(this MemoryAllocator<T> allocator, int length)
- public static MemoryOwner<T> AllocateAtLeast<T>(int length)
- public static MemoryOwner<T> AllocateExactly<T>(this MemoryAllocator<T> allocator, int length)
- public static MemoryOwner<T> AllocateExactly<T>(int length)
- public static ReadOnlySequence<T> Concat<T>(this ReadOnlyMemory<T> first, ReadOnlyMemory<T> second)
- public static void CopyTo<T>(this ref ReadOnlySequence source, Span<T> destination, out int writtenCount)
- public static MemoryAllocator<T> GetArrayAllocator<T>()
- public static MemoryAllocator<T> GetPinnedArrayAllocator<T>() where T : ValueType modreq(System.Runtime.InteropServices.UnmanagedType)
- public static ref T GetReference<T>(ref MemoryOwner owner)
- public static void ReleaseAll<T>(this ref MemoryOwner owner) where T : IDisposable
- public static void Resize<T>(this ref MemoryOwner owner, int newLength, MemoryAllocator<T> allocator = null)
- public static MemoryAllocator<T> ToAllocator<T>(this ArrayPool<T> pool)
- public static MemoryAllocator<T> ToAllocator<T>(this MemoryPool<T> pool)
- public static MemoryAllocator<T> ToAllocator<T>(this Func<int, IMemoryOwner<T>> provider)
- public static ReadOnlySequence<T> ToReadOnlySequence<T>(this IEnumerable<ReadOnlyMemory<T>> chunks)
- public static ReadOnlySequence<char> ToReadOnlySequence(this IEnumerable<string> strings)
- public static ReadOnlySequence<char> ToReadOnlySequence(this StringBuilder builder)
- public static ReadOnlyMemory<T> TrimLength<T>(this ReadOnlyMemory<T> memory, int maxLength)
- public static Memory<T> TrimLength<T>(this Memory<T> memory, int maxLength)
- public static bool TryGetBlock<T>(this ref ReadOnlySequence sequence, int count, out ReadOnlyMemory span)
-
public struct MemoryOwner<T> : IMemoryOwner<T>, IDisposable, ISupplier<Memory<T>>, IFunctional<Func<Memory<T>>>, ISupplier<ReadOnlyMemory<T>>, IFunctional<Func<ReadOnlyMemory<T>>>
-
public struct MemoryRental<T>
-
public abstract class MemoryWriter<T> : Disposable, IBufferWriter<T>, IConvertible<ReadOnlyMemory<T>>
-
public static class PooledArrayBufferWriter
-
public sealed class PooledArrayBufferWriter<T> : MemoryWriter<T>, IConvertible<ArraySegment<T>>
-
public sealed class PooledBufferWriter<T> : MemoryWriter<T>
-
public sealed class PoolingArrayBufferWriter<T> : BufferWriter<T>, ISupplier<ArraySegment<T>>, IFunctional<Func<ArraySegment<T>>>, IList<T>, ICollection<T>, IEnumerable<T>, IEnumerable
-
public sealed class PoolingBufferWriter<T> : BufferWriter<T>, IMemoryOwner<T>, IDisposable
-
public struct PoolingInterpolatedStringHandler : IGrowableBuffer<char>, IReadOnlySpanConsumer<char>, ISupplier<ReadOnlyMemory<char>, CancellationToken, ValueTask>, IFunctional<Func<ReadOnlyMemory<char>, CancellationToken, ValueTask>>, IDisposable, IResettable
-
public static class ReadOnlySequencePartitioner
-
public struct ReadOnlySpanConsumer<T, TArg> : IReadOnlySpanConsumer<T>, ISupplier<ReadOnlyMemory<T>, CancellationToken, ValueTask>, IFunctional<Func<ReadOnlyMemory<T>, CancellationToken, ValueTask>>
-
public struct SpanOwner<T>
-
public struct SpanReader<T>
-
public struct SpanWriter<T>
-
public enum SparseBufferGrowth
-
public class SparseBufferWriter<T> : Disposable, IGrowableBuffer<T>, IReadOnlySpanConsumer<T>, ISupplier<ReadOnlyMemory<T>, CancellationToken, ValueTask>, IFunctional<Func<ReadOnlyMemory<T>, CancellationToken, ValueTask>>, IDisposable, IResettable, ISupplier<ReadOnlySequence<T>>, IFunctional<Func<ReadOnlySequence<T>>>, IEnumerable<ReadOnlyMemory<T>>, IEnumerable, IBufferWriter<T>
- public struct Enumerator<T> : IEnumerator<Enumerator<T>, ReadOnlyMemory<T>>
- public SequencePosition End { get; }
- public bool IsSingleSegment { get; }
- public SequencePosition Start { get; }
- public long WrittenCount { get; }
- public SparseBufferWriter(int chunkSize, SparseBufferGrowth growth = 0, MemoryAllocator<T> allocator = null)
- public SparseBufferWriter(MemoryPool<T> pool)
- public SparseBufferWriter()
- public void Add(T item)
- public void Clear()
- public void CopyTo<TConsumer>(TConsumer consumer) where TConsumer : IReadOnlySpanConsumer<T>
- public void CopyTo<TArg>(ReadOnlySpanAction<T, TArg> writer, TArg arg)
- public int CopyTo(Span<T> output)
- public int CopyTo(Span<T> output, ref SequencePosition position)
- public void CopyTo<TConsumer>(TConsumer consumer, SequencePosition start) where TConsumer : IReadOnlySpanConsumer<T>
- public long CopyTo<TConsumer>(TConsumer consumer, ref SequencePosition position, long count) where TConsumer : IReadOnlySpanConsumer<T>
- public Enumerator<T> GetEnumerator()
- public SequencePosition GetPosition(long offset, SequencePosition origin = default)
- public ReadOnlySequence<T> Read(ref SequencePosition position, long count)
- public bool TryGetWrittenContent(out ReadOnlyMemory segment)
- public void Write(ReadOnlySpan<T> input)
- public void Write(ReadOnlyMemory<T> input, bool copyMemory = true)
- public void Write(ref ReadOnlySequence sequence, bool copyMemory = true)
DotNext.Buffers.Binary
DotNext.Buffers.Text
-
public struct Base64Decoder : IResettable
- public bool NeedMoreData { get; }
- public static IAsyncEnumerable<ReadOnlyMemory<byte>> DecodeFromUtf16Async(IAsyncEnumerable<ReadOnlyMemory<char>> chars, MemoryAllocator<byte> allocator = null, CancellationToken token = default)
- public static IAsyncEnumerable<ReadOnlyMemory<byte>> DecodeFromUtf8Async(IAsyncEnumerable<ReadOnlyMemory<byte>> utf8Chars, MemoryAllocator<byte> allocator = null, CancellationToken token = default)
- public void DecodeFromUtf16(ReadOnlySpan<char> chars, IBufferWriter<byte> bytes)
- public MemoryOwner<byte> DecodeFromUtf16(ReadOnlySpan<char> chars, MemoryAllocator<byte> allocator = null)
- public void DecodeFromUtf16(ReadOnlySpan<char> chars, ref BufferWriterSlim bytes)
- public void DecodeFromUtf8(ReadOnlySpan<byte> chars, IBufferWriter<byte> bytes)
- public MemoryOwner<byte> DecodeFromUtf8(ReadOnlySpan<byte> chars, MemoryAllocator<byte> allocator = null)
- public void DecodeFromUtf8(ReadOnlySpan<byte> chars, ref BufferWriterSlim bytes)
- public void Reset()
-
public struct Base64Encoder : IResettable
- public const int MaxBufferedDataSize = 2
- public const int MaxCharsToFlush = 4
- public const int MaxInputSize = 1610612731
- public ReadOnlySpan<byte> BufferedData { get; }
- public bool HasBufferedData { get; }
- public static IAsyncEnumerable<ReadOnlyMemory<char>> EncodeToUtf16Async(IAsyncEnumerable<ReadOnlyMemory<byte>> bytes, MemoryAllocator<char> allocator = null, CancellationToken token = default)
- public static IAsyncEnumerable<ReadOnlyMemory<byte>> EncodeToUtf8Async(IAsyncEnumerable<ReadOnlyMemory<byte>> bytes, MemoryAllocator<byte> allocator = null, CancellationToken token = default)
- public MemoryOwner<char> EncodeToUtf16(ReadOnlySpan<byte> bytes, MemoryAllocator<char> allocator = null, bool flush = false)
- public void EncodeToUtf16(ReadOnlySpan<byte> bytes, ref BufferWriterSlim chars, bool flush = false)
- public void EncodeToUtf16(ReadOnlySpan<byte> bytes, IBufferWriter<char> chars, bool flush = false)
- public MemoryOwner<byte> EncodeToUtf8(ReadOnlySpan<byte> bytes, MemoryAllocator<byte> allocator = null, bool flush = false)
- public void EncodeToUtf8(ReadOnlySpan<byte> bytes, ref BufferWriterSlim chars, bool flush = false)
- public void EncodeToUtf8(ReadOnlySpan<byte> bytes, IBufferWriter<byte> chars, bool flush = false)
- public int Flush(Span<char> output)
- public int Flush(Span<byte> output)
- public void Reset()
-
public static class Hex
DotNext.Collections.Generic
-
public static class AsyncEnumerable
- public static Task<MemoryOwner<T>> CopyAsync<T>(this IAsyncEnumerable<T> enumerable, int sizeHint = 0, MemoryAllocator<T> allocator = null, CancellationToken token = default)
- public static ValueTask<Optional<T>> ElementAtAsync<T>(this IAsyncEnumerable<T> collection, int index, CancellationToken token = default)
- public static IAsyncEnumerable<T> Empty<T>()
- public static ValueTask<Optional<T>> FirstOrNoneAsync<T>(this IAsyncEnumerable<T> seq, CancellationToken token = default)
- public static ValueTask<Optional<T>> FirstOrNoneAsync<T>(this IAsyncEnumerable<T> seq, Predicate<T> filter, CancellationToken token = default)
- public static ValueTask<T?> FirstOrNullAsync<T>(this IAsyncEnumerable<T> seq, CancellationToken token = default) where T : struct
- public static ValueTask ForEachAsync<T>(this IAsyncEnumerable<T> collection, Action<T> action, CancellationToken token = default)
- public static ValueTask ForEachAsync<T>(this IAsyncEnumerable<T> collection, Func<T, CancellationToken, ValueTask> action, CancellationToken token = default)
- public static ValueTask<Optional<T>> LastOrNoneAsync<T>(this IAsyncEnumerable<T> seq, CancellationToken token = default)
- public static ValueTask<T?> LastOrNullAsync<T>(this IAsyncEnumerable<T> seq, CancellationToken token = default) where T : struct
- public static IAsyncEnumerable<T> Singleton<T>(T item)
- public static ValueTask<bool> SkipAsync<T>(this IAsyncEnumerator<T> enumerator, int count)
- public static IAsyncEnumerable<T> SkipNulls<T>(this IAsyncEnumerable<T> collection)
- public static IAsyncEnumerable<T> Throw<T>(Exception e)
- public static Task<T[]> ToArrayAsync<T>(this IAsyncEnumerable<T> collection, int initialCapacity = 10, MemoryAllocator<T> allocator = null, CancellationToken token = default)
-
public static class Collection
- public struct ConsumingEnumerable<T> : IEnumerable<T>, IEnumerable
- public static ReadOnlyCollectionView<TInput, TOutput> Convert<TInput, TOutput>(this IReadOnlyCollection<TInput> collection, ref ValueFunc converter)
- public static IEnumerable<T> Append<T>(this IEnumerable<T> collection, T[] items)
- public static MemoryOwner<T> Copy<T>(this IEnumerable<T> enumerable, int sizeHint = 0, MemoryAllocator<T> allocator = null)
- public static bool ElementAt<T>(this IEnumerable<T> collection, int index, out T element)
- public static Optional<T> FirstOrNone<T>(this IEnumerable<T> collection)
- public static void ForEach<T>(this IEnumerable<T> collection, Action<T> action)
- public static ValueTask ForEachAsync<T>(this IEnumerable<T> collection, Func<T, CancellationToken, ValueTask> action, CancellationToken token = default)
- public static ConsumingEnumerable<T> GetConsumer<T>(this IProducerConsumerCollection<T> collection)
- public static Optional<T> LastOrNone<T>(this IEnumerable<T> collection)
- public static IEnumerable<T> Prepend<T>(this IEnumerable<T> collection, T[] items)
- public static int SequenceHashCode<T>(this IEnumerable<T> sequence, bool salted = true)
- public static IEnumerable<T> SkipNulls<T>(this IEnumerable<T> collection)
- public static IAsyncEnumerable<T> ToAsyncEnumerable<T>(this IEnumerable<T> enumerable)
- public static IAsyncEnumerator<T> ToAsyncEnumerator<TEnumerator, T>(this TEnumerator enumerator, CancellationToken token) where TEnumerator : struct, IEnumerator<TEnumerator, T>
- public static IEnumerator<T> ToClassicEnumerator<TEnumerator, T>(this TEnumerator enumerator) where TEnumerator : struct, IEnumerator<TEnumerator, T>
- public static string ToString<T>(this IEnumerable<T> collection, string delimiter, string ifEmpty = "")
-
public static class Dictionary
- public static ReadOnlyDictionaryView<TKey, TValue, TResult> ConvertValues<TKey, TValue, TResult>(this IReadOnlyDictionary<TKey, TValue> dictionary, ref ValueFunc mapper)
- public static void ForEach<TKey, TValue>(this IDictionary<TKey, TValue> dictionary, ref ValueAction action)
- public static TValue GetOrAdd<TKey, TValue>(this Dictionary<TKey, TValue> dictionary, TKey key, ref ValueFunc valueFactory)
- public static TValue GetOrInvoke<TKey, TValue>(this IDictionary<TKey, TValue> dictionary, TKey key, ref ValueFunc defaultValue)
- public static TValue GetOrAdd<TKey, TValue>(this Dictionary<TKey, TValue> dictionary, TKey key, Func<TKey, TValue> valueFactory)
- public static TValue GetOrInvoke<TKey, TValue, TSupplier>(this IDictionary<TKey, TValue> dictionary, TKey key, TSupplier defaultValue) where TSupplier : struct, ISupplier<TValue>
- public static Func<IEnumerable<TKey>> KeysGetter<TKey, TValue>(this IReadOnlyDictionary<TKey, TValue> dictionary)
- public static Func<ICollection<TKey>> KeysGetter<TKey, TValue>(this IDictionary<TKey, TValue> dictionary)
- public static Func<IEnumerable<TValue>> ValuesGetter<TKey, TValue>(this IReadOnlyDictionary<TKey, TValue> dictionary)
- public static Func<ICollection<TValue>> ValuesGetter<TKey, TValue>(this IDictionary<TKey, TValue> dictionary)
-
public static class Enumerator
-
public interface IEnumerator<TSelf, T> where TSelf : struct, IEnumerator<TSelf, T>
-
public static class List
- public static ReadOnlyListView<TInput, TOutput> Convert<TInput, TOutput>(this IReadOnlyList<TInput> list, ref ValueFunc converter)
- public static int InsertOrdered<T>(this IList<T> list, T item, ref ValueFunc comparer)
- public static int InsertOrdered<T, TComparer>(this List<T> list, T item, TComparer comparer) where TComparer : IComparer<T>
- public static int InsertOrdered<T, TComparer>(this IList<T> list, T item, TComparer comparer) where TComparer : IComparer<T>
- public static int InsertOrdered<T>(this IList<T> list, T item, method comparer)
- public static TOutput[] ToArray<TInput, TOutput>(this IList<TInput> input, ref ValueFunc mapper)
- public static TOutput[] ToArray<TInput, TOutput>(this IList<TInput> input, ref ValueFunc mapper)
- public static TOutput[] ToArray<TInput, TOutput>(this IList<TInput> input, method mapper)
- public static TOutput[] ToArray<TInput, TOutput>(this IList<TInput> input, method mapper)
-
public struct ListSegment<T> : IList<T>, ICollection<T>, IEnumerable<T>, IEnumerable, IReadOnlyList<T>, IReadOnlyCollection<T>
-
public struct ReadOnlyCollectionView<TInput, TOutput> : IReadOnlyCollection<TOutput>, IEnumerable<TOutput>, IEnumerable, IEquatable<ReadOnlyCollectionView<TInput, TOutput>>
- public ReadOnlyCollectionView(IReadOnlyCollection<TInput> collection, ref ValueFunc mapper)
- public static bool op_Equality(ReadOnlyCollectionView<TInput, TOutput> first, ReadOnlyCollectionView<TInput, TOutput> second)
- public static bool op_Inequality(ReadOnlyCollectionView<TInput, TOutput> first, ReadOnlyCollectionView<TInput, TOutput> second)
- public ReadOnlyCollectionView(IReadOnlyCollection<TInput> collection, Func<TInput, TOutput> mapper)
- public ReadOnlyCollectionView(IReadOnlyCollection<TInput> collection, Converter<TInput, TOutput> mapper)
- public static bool op_Equality(ref ReadOnlyCollectionView first, ref ReadOnlyCollectionView second)
- public static bool op_Inequality(ref ReadOnlyCollectionView first, ref ReadOnlyCollectionView second)
-
public struct ReadOnlyDictionaryView<TKey, TInput, TOutput> : IReadOnlyDictionary<TKey, TOutput>, IEnumerable<KeyValuePair<TKey, TOutput>>, IEnumerable, IReadOnlyCollection<KeyValuePair<TKey, TOutput>>, IEquatable<ReadOnlyDictionaryView<TKey, TInput, TOutput>>
- public ReadOnlyDictionaryView(IReadOnlyDictionary<TKey, TInput> dictionary, ref ValueFunc mapper)
- public static bool op_Equality(ReadOnlyDictionaryView<TKey, TInput, TOutput> first, ReadOnlyDictionaryView<TKey, TInput, TOutput> second)
- public static bool op_Inequality(ReadOnlyDictionaryView<TKey, TInput, TOutput> first, ReadOnlyDictionaryView<TKey, TInput, TOutput> second)
- public ReadOnlyDictionaryView(IReadOnlyDictionary<TKey, TInput> dictionary, Func<TInput, TOutput> mapper)
- public ReadOnlyDictionaryView(IReadOnlyDictionary<TKey, TInput> dictionary, Converter<TInput, TOutput> mapper)
- public static bool op_Equality(ref ReadOnlyDictionaryView first, ref ReadOnlyDictionaryView second)
- public static bool op_Inequality(ref ReadOnlyDictionaryView first, ref ReadOnlyDictionaryView second)
-
public struct ReadOnlyListView<TInput, TOutput> : IReadOnlyList<TOutput>, IEnumerable<TOutput>, IEnumerable, IReadOnlyCollection<TOutput>, IEquatable<ReadOnlyListView<TInput, TOutput>>
- public ReadOnlyListView(IReadOnlyList<TInput> list, ref ValueFunc mapper)
- public static bool op_Equality(ReadOnlyListView<TInput, TOutput> first, ReadOnlyListView<TInput, TOutput> second)
- public static bool op_Inequality(ReadOnlyListView<TInput, TOutput> first, ReadOnlyListView<TInput, TOutput> second)
- public ReadOnlyListView(IReadOnlyList<TInput> list, Func<TInput, TOutput> mapper)
- public ReadOnlyListView(IReadOnlyList<TInput> list, Converter<TInput, TOutput> mapper)
- public static bool op_Equality(ref ReadOnlyListView first, ref ReadOnlyListView second)
- public static bool op_Inequality(ref ReadOnlyListView first, ref ReadOnlyListView second)
-
public static class Stack
-
public static class Set
DotNext.Collections.Specialized
-
public class ConcurrentTypeMap : ITypeMap, IReadOnlyTypeMap, IEnumerable<object>, IEnumerable
-
public class ConcurrentTypeMap<TValue> : ITypeMap<TValue>, IReadOnlyTypeMap<TValue>, IEnumerable<TValue>, IEnumerable
-
public static class InvocationList
-
public struct InvocationList<TDelegate> : IReadOnlyList<TDelegate>, IEnumerable<TDelegate>, IEnumerable, IReadOnlyCollection<TDelegate> where TDelegate : MulticastDelegate
-
public interface IReadOnlyTypeMap : IEnumerable<object>, IEnumerable
-
public interface IReadOnlyTypeMap<TValue>
-
public interface ITypeMap : IReadOnlyTypeMap, IEnumerable<object>, IEnumerable
- void Add<T>(T value)
- void Clear()
- bool Remove<T>()
- bool Remove<T>(out T value)
- void Set<T>(T value)
- bool Set<T>(T newValue, out T oldValue)
-
public interface ITypeMap<TValue> : IReadOnlyTypeMap<TValue>
- void Add<TKey>(TValue value)
- void Clear()
- bool Remove<TKey>()
- bool Remove<TKey>(out TValue value)
- void Set<TKey>(TValue value)
- bool Set<TKey>(TValue newValue, out TValue oldValue)
-
public struct SingletonList<T> : IReadOnlyList<T>, IEnumerable<T>, IEnumerable, IReadOnlyCollection<T>, IList<T>, ICollection<T>, ITuple, IReadOnlySet<T>, IAsyncEnumerable<T>
-
public class TypeMap : ITypeMap, IReadOnlyTypeMap, IEnumerable<object>, IEnumerable
-
public class TypeMap<TValue> : ITypeMap<TValue>, IReadOnlyTypeMap<TValue>, IEnumerable<TValue>, IEnumerable
DotNext.ComponentModel.DataAnnotations
DotNext.Diagnostics
-
public struct Timestamp : IComparable<Timestamp>, IComparisonOperators<Timestamp, Timestamp, bool>, IEqualityOperators<Timestamp, Timestamp, bool>, IAdditionOperators<Timestamp, TimeSpan, Timestamp>, ISubtractionOperators<Timestamp, TimeSpan, Timestamp>, IInterlockedOperations<Timestamp>, IEquatable<Timestamp>
-
public sealed class UnreachableCodeExecutionException : Exception
DotNext.Generic
DotNext.IO
-
public interface IFlushable
-
public struct StreamConsumer : IReadOnlySpanConsumer<byte>, ISupplier<ReadOnlyMemory<byte>, CancellationToken, ValueTask>, IFunctional<Func<ReadOnlyMemory<byte>, CancellationToken, ValueTask>>, IEquatable<StreamConsumer>, IFlushable
-
public static class StreamSource
- public static Stream AsAsynchronousStream<TOutput>(TOutput output) where TOutput : ISupplier<ReadOnlyMemory<byte>, CancellationToken, ValueTask>, IFlushable
- public static Stream AsSharedStream(this ReadOnlySequence<byte> sequence, bool compatWithAsync = true)
- public static Stream AsStream(this ArraySegment<byte> segment, bool writable = false)
- public static Stream AsStream<TArg>(this ReadOnlySpanAction<byte, TArg> writer, TArg arg, Action<TArg> flush = null, Func<TArg, CancellationToken, Task> flushAsync = null)
- public static Stream GetWrittenBytesAsStream(this PooledArrayBufferWriter<byte> writer)
- public static Stream AsStream(this SparseBufferWriter<byte> writer, bool readable)
- public static Stream AsStream<TArg>(this Func<ReadOnlyMemory<byte>, TArg, CancellationToken, ValueTask> writer, TArg arg, Action<TArg> flush = null, Func<TArg, CancellationToken, Task> flushAsync = null)
- public static Stream AsStream<TArg>(this Func<Memory<byte>, TArg, CancellationToken, ValueTask<int>> reader, TArg arg)
- public static Stream AsSynchronousStream<TOutput>(TOutput output) where TOutput : IFlushable, IReadOnlySpanConsumer<byte>
-
public struct TextConsumer : IReadOnlySpanConsumer<char>, ISupplier<ReadOnlyMemory<char>, CancellationToken, ValueTask>, IFunctional<Func<ReadOnlyMemory<char>, CancellationToken, ValueTask>>, IFlushable, IEquatable<TextConsumer>
DotNext.IO.Hashing
-
public class FNV1a<THash, TParameters> : NonCryptographicHashAlgorithm, IResettable where THash : ValueType modreq(System.Runtime.InteropServices.UnmanagedType), IBinaryNumber<THash> where TParameters : IFNV1aParameters<THash>
- public FNV1a(bool salted = false)
- public static THash Hash<T>(ReadOnlySpan<T> data, bool salted = false) where T : ValueType modreq(System.Runtime.InteropServices.UnmanagedType)
- public static THash Hash<T, TIndex>(Func<T, TIndex, THash> accessor, TIndex count, T arg, bool salted = false) where TIndex : IComparisonOperators<TIndex, TIndex, bool>, IAdditiveIdentity<TIndex, TIndex>, IIncrementOperators<TIndex>
- public static THash Hash(Void* address, UIntPtr length, bool salted = false)
- public static THash Hash(THash data)
- public void Append<T>(ReadOnlySpan<T> source) where T : ValueType modreq(System.Runtime.InteropServices.UnmanagedType)
- public void Append(Void* address, UIntPtr length)
- public void Append(THash value)
- public THash GetCurrentHash()
-
public sealed class FNV1a128 : FNV1a<Int128, FNV1aParameters>
-
public sealed class FNV1a32 : FNV1a<int, FNV1aParameters>
- public FNV1a32(bool salted = false)
-
public sealed class FNV1a64 : FNV1a<long, FNV1aParameters>
- public FNV1a64(bool salted = false)
-
public struct FNV1aParameters : IFNV1aParameters<int>, IFNV1aParameters<long>, IFNV1aParameters<Int128>
-
public interface IFNV1aParameters<THash> where THash : ValueType modreq(System.Runtime.InteropServices.UnmanagedType)
DotNext.Net.Http
DotNext.Numerics
-
public static class Number
- public static TResult FromBits<TResult>(this ReadOnlySpan<bool> bits) where TResult : struct, IBinaryNumber<TResult>, IShiftOperators<TResult, int, TResult>
- public static void GetBits<T>(this T value, Span<bool> bits) where T : ValueType modreq(System.Runtime.InteropServices.UnmanagedType), IBinaryNumber<T>, IShiftOperators<T, int, T>
- public static int GetMaxByteCount<T>() where T : IBinaryInteger<T>
- public static T GetPrime<T>(T lowerBound, ReadOnlySpan<T> cachedPrimes = default) where T : struct, IBinaryNumber<T>, ISignedNumber<T>, IMinMaxValue<T>, IShiftOperators<T, int, T>
- public static bool IsBitSet<T>(this T number, int position) where T : struct, IBinaryNumber<T>, IShiftOperators<T, int, T>
- public static bool IsPrime<T>(T value) where T : struct, IBinaryNumber<T>, ISignedNumber<T>, IShiftOperators<T, int, T>
- public static bool IsSigned<T>() where T : INumberBase<T>
- public static TOutput Normalize<TInput, TOutput>(this TInput value, TInput min, TInput max) where TInput : struct, INumberBase<TInput>, IComparisonOperators<TInput, TInput, bool> where TOutput : struct, IFloatingPoint<TOutput>
- public static double Normalize(this ulong value)
- public static double Normalize(this long value)
- public static float Normalize(this uint value)
- public static float Normalize(this int value)
- public static T SetBit<T>(this T number, int position, bool value) where T : struct, IBinaryNumber<T>, IShiftOperators<T, int, T>
DotNext.Patterns
DotNext.Reflection
DotNext.Resources
DotNext.Runtime
-
public abstract class BoxedValue<T> where T : struct
-
public struct GCLatencyModeScope : IDisposable
-
public abstract class GCNotification
-
public static class Intrinsics
- public static bool AreSame<T>(ref T first, ref T second)
- public static int AlignOf<T>()
- public static bool AreCompatible<T1, T2>()
- public static void Bitcast<T, TResult>(ref T input, out TResult output) where T : ValueType modreq(System.Runtime.InteropServices.UnmanagedType) where TResult : ValueType modreq(System.Runtime.InteropServices.UnmanagedType)
- public static void ClearBits(Void* address, long length)
- public static int Compare(Void* first, Void* second, long length)
- public static int Compare(Void* first, Void* second, UIntPtr length)
- public static void Copy<T>(ref T source, ref T destination, long count) where T : ValueType modreq(System.Runtime.InteropServices.UnmanagedType)
- public static void Copy<T>(ref T source, out T destination, UIntPtr count) where T : ValueType modreq(System.Runtime.InteropServices.UnmanagedType)
- public static T DefaultOf<T>()
- public static bool Equals(Void* first, Void* second, long length)
- public static int GetHashCode32(Void* source, long length, int hash, Func<int, int, int> hashFunction, bool salted = true)
- public static int GetHashCode32(Void* source, long length, int hash, ref ValueFunc hashFunction, bool salted = true)
- public static int GetHashCode32(Void* source, long length, bool salted = true)
- public static long GetHashCode64(Void* source, long length, long hash, Func<long, long, long> hashFunction, bool salted = true)
- public static long GetHashCode64(Void* source, long length, long hash, ref ValueFunc hashFunction, bool salted = true)
- public static long GetHashCode64(Void* source, long length, bool salted = true)
- public static T& modreq(System.Runtime.InteropServices.InAttribute) GetReadonlyRef<T>(this T[] array, long index)
- public static TBase& modreq(System.Runtime.InteropServices.InAttribute) GetReadonlyRef<T, TBase>(this T[] array, long index) where T : TBase
- public static bool HasFlag<T>(T value, T flag) where T : struct, Enum
- public static bool Equals(Void* first, Void* second, UIntPtr length)
- public static UIntPtr GetLength(this Array array)
- public static bool HasFinalizer(object obj)
- public static bool IsNull<T>(ref T value)
- public static void Reverse<T>(ref T value) where T : ValueType modreq(System.Runtime.InteropServices.UnmanagedType)
- public static int PointerHashCode(Void* pointer)
- public static void ThrowIfNull<T>(ref T value)
-
public struct ReadOnlyValueReference<T> : IEquatable<ReadOnlyValueReference<T>>, IEqualityOperators<ReadOnlyValueReference<T>, ReadOnlyValueReference<T>, bool>, ISupplier<T>, IFunctional<Func<T>>
-
public sealed class SoftReference<T> : IOptionMonad<T>, ISupplier<object>, IFunctional<Func<object>>
-
public class SoftReferenceOptions
-
public enum SoftReferenceState
-
public struct ValueReference<T> : IEquatable<ValueReference<T>>, IEqualityOperators<ValueReference<T>, ValueReference<T>, bool>, ISupplier<T>, IFunctional<Func<T>>, IConsumer<T>, IFunctional<Action<T>>
DotNext.Runtime.Caching
-
public enum CacheEvictionPolicy
-
public class ConcurrentCache<TKey, TValue> : IReadOnlyDictionary<TKey, TValue>, IEnumerable<KeyValuePair<TKey, TValue>>, IEnumerable, IReadOnlyCollection<KeyValuePair<TKey, TValue>>
- public int Capacity { get; }
- public int Count { get; }
- public Action<TKey, TValue> Eviction { get; set; }
- public bool ExecuteEvictionAsynchronously { get; set; }
- public TValue this[TKey key] { get; set; }
- public ConcurrentCache(int capacity, int concurrencyLevel, CacheEvictionPolicy evictionPolicy, IEqualityComparer<TKey> keyComparer = null)
- public ConcurrentCache(int capacity, CacheEvictionPolicy evictionPolicy, IEqualityComparer<TKey> keyComparer = null)
- public TValue AddOrUpdate(TKey key, TValue value, out bool added)
- public void Clear()
- public IEnumerator<KeyValuePair<TKey, TValue>> GetEnumerator()
- public TValue GetOrAdd(TKey key, TValue value, out bool added)
- public int TakeSnapshot(Span<KeyValuePair<TKey, TValue>> buffer, bool descendingOrder = true)
- public bool TryAdd(TKey key, TValue value)
- public bool TryGetValue(TKey key, out TValue value)
- public bool TryRemove(TKey key, out TValue value)
- public bool TryRemove(KeyValuePair<TKey, TValue> pair)
- public bool TryUpdate(TKey key, TValue newValue, TValue expectedValue)
DotNext.Runtime.CompilerServices
DotNext.Runtime.ExceptionServices
DotNext.Runtime.InteropServices
DotNext.Security.Cryptography
DotNext.Text
DotNext.Text.Json
DotNext.Threading
-
public static class AsyncDelegate
-
public static class Atomic
- public struct Boolean : IEquatable<bool>
- public static double AccumulateAndGet<TAccumulator>(ref double value, double x, TAccumulator accumulator) where TAccumulator : ISupplier<double, double, double>
- public static double AccumulateAndGet(ref double value, double x, Func<double, double, double> accumulator)
- public static IntPtr AccumulateAndGet<TAccumulator>(ref IntPtr value, IntPtr x, TAccumulator accumulator) where TAccumulator : ISupplier<IntPtr, IntPtr, IntPtr>
- public static IntPtr AccumulateAndGet(ref IntPtr value, IntPtr x, Func<IntPtr, IntPtr, IntPtr> accumulator)
- public static int AccumulateAndGet<TAccumulator>(ref int value, int x, TAccumulator accumulator) where TAccumulator : ISupplier<int, int, int>
- public static int AccumulateAndGet(ref int value, int x, Func<int, int, int> accumulator)
- public static long AccumulateAndGet<TAccumulator>(ref long value, long x, TAccumulator accumulator) where TAccumulator : ISupplier<long, long, long>
- public static long AccumulateAndGet(ref long value, long x, Func<long, long, long> accumulator)
- public static float AccumulateAndGet<TAccumulator>(ref float value, float x, TAccumulator accumulator) where TAccumulator : ISupplier<float, float, float>
- public static float AccumulateAndGet(ref float value, float x, Func<float, float, float> accumulator)
- public static UIntPtr AccumulateAndGet<TAccumulator>(ref UIntPtr value, UIntPtr x, TAccumulator accumulator) where TAccumulator : ISupplier<UIntPtr, UIntPtr, UIntPtr>
- public static UIntPtr AccumulateAndGet(ref UIntPtr value, UIntPtr x, Func<UIntPtr, UIntPtr, UIntPtr> accumulator)
- public static uint AccumulateAndGet<TAccumulator>(ref uint value, uint x, TAccumulator accumulator) where TAccumulator : ISupplier<uint, uint, uint>
- public static uint AccumulateAndGet(ref uint value, uint x, Func<uint, uint, uint> accumulator)
- public static ulong AccumulateAndGet<TAccumulator>(ref ulong value, ulong x, TAccumulator accumulator) where TAccumulator : ISupplier<ulong, ulong, ulong>
- public static ulong AccumulateAndGet(ref ulong value, ulong x, Func<ulong, ulong, ulong> accumulator)
- public static double GetAndAccumulate<TAccumulator>(ref double value, double x, TAccumulator accumulator) where TAccumulator : ISupplier<double, double, double>
- public static double GetAndAccumulate(ref double value, double x, Func<double, double, double> accumulator)
- public static IntPtr GetAndAccumulate<TAccumulator>(ref IntPtr value, IntPtr x, TAccumulator accumulator) where TAccumulator : ISupplier<IntPtr, IntPtr, IntPtr>
- public static IntPtr GetAndAccumulate(ref IntPtr value, IntPtr x, Func<IntPtr, IntPtr, IntPtr> accumulator)
- public static int GetAndAccumulate<TAccumulator>(ref int value, int x, TAccumulator accumulator) where TAccumulator : ISupplier<int, int, int>
- public static int GetAndAccumulate(ref int value, int x, Func<int, int, int> accumulator)
- public static long GetAndAccumulate<TAccumulator>(ref long value, long x, TAccumulator accumulator) where TAccumulator : ISupplier<long, long, long>
- public static long GetAndAccumulate(ref long value, long x, Func<long, long, long> accumulator)
- public static float GetAndAccumulate<TAccumulator>(ref float value, float x, TAccumulator accumulator) where TAccumulator : ISupplier<float, float, float>
- public static float GetAndAccumulate(ref float value, float x, Func<float, float, float> accumulator)
- public static UIntPtr GetAndAccumulate<TAccumulator>(ref UIntPtr value, UIntPtr x, TAccumulator accumulator) where TAccumulator : ISupplier<UIntPtr, UIntPtr, UIntPtr>
- public static UIntPtr GetAndAccumulate(ref UIntPtr value, UIntPtr x, Func<UIntPtr, UIntPtr, UIntPtr> accumulator)
- public static uint GetAndAccumulate<TAccumulator>(ref uint value, uint x, TAccumulator accumulator) where TAccumulator : ISupplier<uint, uint, uint>
- public static uint GetAndAccumulate(ref uint value, uint x, Func<uint, uint, uint> accumulator)
- public static ulong GetAndAccumulate<TAccumulator>(ref ulong value, ulong x, TAccumulator accumulator) where TAccumulator : ISupplier<ulong, ulong, ulong>
- public static ulong GetAndAccumulate(ref ulong value, ulong x, Func<ulong, ulong, ulong> accumulator)
- public static double GetAndUpdate<TUpdater>(ref double value, TUpdater updater) where TUpdater : ISupplier<double, double>
- public static double GetAndUpdate(ref double value, Func<double, double> updater)
- public static IntPtr GetAndUpdate<TUpdater>(ref IntPtr value, TUpdater updater) where TUpdater : ISupplier<IntPtr, IntPtr>
- public static IntPtr GetAndUpdate(ref IntPtr value, Func<IntPtr, IntPtr> updater)
- public static int GetAndUpdate<TUpdater>(ref int value, TUpdater updater) where TUpdater : ISupplier<int, int>
- public static int GetAndUpdate(ref int value, Func<int, int> updater)
- public static long GetAndUpdate<TUpdater>(ref long value, TUpdater updater) where TUpdater : ISupplier<long, long>
- public static long GetAndUpdate(ref long value, Func<long, long> updater)
- public static float GetAndUpdate<TUpdater>(ref float value, TUpdater updater) where TUpdater : ISupplier<float, float>
- public static float GetAndUpdate(ref float value, Func<float, float> updater)
- public static UIntPtr GetAndUpdate<TUpdater>(ref UIntPtr value, TUpdater updater) where TUpdater : ISupplier<UIntPtr, UIntPtr>
- public static UIntPtr GetAndUpdate(ref UIntPtr value, Func<UIntPtr, UIntPtr> updater)
- public static uint GetAndUpdate<TUpdater>(ref uint value, TUpdater updater) where TUpdater : ISupplier<uint, uint>
- public static uint GetAndUpdate(ref uint value, Func<uint, uint> updater)
- public static ulong GetAndUpdate<TUpdater>(ref ulong value, TUpdater updater) where TUpdater : ISupplier<ulong, ulong>
- public static ulong GetAndUpdate(ref ulong value, Func<ulong, ulong> updater)
- public static bool IsAtomic<T>()
- public static double UpdateAndGet<TUpdater>(ref double value, TUpdater updater) where TUpdater : ISupplier<double, double>
- public static double UpdateAndGet(ref double value, Func<double, double> updater)
- public static IntPtr UpdateAndGet<TUpdater>(ref IntPtr value, TUpdater updater) where TUpdater : ISupplier<IntPtr, IntPtr>
- public static IntPtr UpdateAndGet(ref IntPtr value, Func<IntPtr, IntPtr> updater)
- public static int UpdateAndGet<TUpdater>(ref int value, TUpdater updater) where TUpdater : ISupplier<int, int>
- public static int UpdateAndGet(ref int value, Func<int, int> updater)
- public static long UpdateAndGet<TUpdater>(ref long value, TUpdater updater) where TUpdater : ISupplier<long, long>
- public static long UpdateAndGet(ref long value, Func<long, long> updater)
- public static float UpdateAndGet<TUpdater>(ref float value, TUpdater updater) where TUpdater : ISupplier<float, float>
- public static float UpdateAndGet(ref float value, Func<float, float> updater)
- public static UIntPtr UpdateAndGet<TUpdater>(ref UIntPtr value, TUpdater updater) where TUpdater : ISupplier<UIntPtr, UIntPtr>
- public static UIntPtr UpdateAndGet(ref UIntPtr value, Func<UIntPtr, UIntPtr> updater)
- public static uint UpdateAndGet<TUpdater>(ref uint value, TUpdater updater) where TUpdater : ISupplier<uint, uint>
- public static uint UpdateAndGet(ref uint value, Func<uint, uint> updater)
- public static ulong UpdateAndGet<TUpdater>(ref ulong value, TUpdater updater) where TUpdater : ISupplier<ulong, ulong>
- public static ulong UpdateAndGet(ref ulong value, Func<ulong, ulong> updater)
-
public struct Atomic<T> : IStrongBox, ICloneable where T : struct
- public bool CompareAndSet(Func<T, T, bool> comparer, ref T expected, ref T update)
- public bool CompareAndSet(method comparer, ref T expected, ref T update)
- public bool CompareExchange(Func<T, T, bool> comparer, ref T update, ref T expected, out T result)
- public bool CompareExchange(method comparer, ref T update, ref T expected, out T result)
-
public struct AtomicBoolean : IEquatable<bool>, ISerializable
-
public static class AtomicDouble
-
public static class AtomicEnum
-
public struct AtomicEnum<TEnum> : IEquatable<TEnum>, ISerializable where TEnum : struct, Enum
-
public static class AtomicInt32
-
public static class AtomicInt64
-
public static class AtomicIntPtr
-
public static class AtomicReference
-
public struct AtomicReference<T> : IEquatable<T>, ISerializable
-
public static class AtomicSingle
-
public class Epoch
-
public interface IInterlockedOperations<T>
-
public struct Lock : IDisposable, IEquatable<Lock>
-
public struct ReaderWriterSpinLock
-
public static class ThreadPoolWorkItemFactory
-
public struct Timeout
DotNext.Threading.Tasks
-
public static class CompletedTask<T, TConstant> where TConstant : Constant<T>
-
public static class Continuation
-
public static class Conversion
- public static SuspendedExceptionTaskAwaitable SuspendException(this Task task, Predicate<Exception> filter = null)
- public static SuspendedExceptionTaskAwaitable SuspendException(this ValueTask task, Predicate<Exception> filter = null)
- public static SuspendedExceptionTaskAwaitable<TArg> SuspendException<TArg>(this Task task, TArg arg, Func<Exception, TArg, bool> filter)
- public static SuspendedExceptionTaskAwaitable<TArg> SuspendException<TArg>(this ValueTask task, TArg arg, Func<Exception, TArg, bool> filter)
-
public struct DynamicTaskAwaitable
-
public abstract class Future : IFuture, INotifyCompletion
-
public abstract class Future<T> : Future, IConvertible<T> where T : Task
-
public interface IFuture : INotifyCompletion
-
public static class Synchronization
- public static Task<bool> WaitAsync(this Task task, TimeSpan timeout, CancellationToken token = default)
- public static Task<ValueTuple<T1, T2>> WhenAll<T1, T2>(Task<T1> task1, Task<T2> task2)
- public static Task<ValueTuple<T1, T2, T3>> WhenAll<T1, T2, T3>(Task<T1> task1, Task<T2> task2, Task<T3> task3)
- public static Task<ValueTuple<T1, T2, T3, T4>> WhenAll<T1, T2, T3, T4>(Task<T1> task1, Task<T2> task2, Task<T3> task3, Task<T4> task4)
- public static Task<ValueTuple<T1, T2, T3, T4, T5>> WhenAll<T1, T2, T3, T4, T5>(Task<T1> task1, Task<T2> task2, Task<T3> task3, Task<T4> task4, Task<T5> task5)
- public static Result<TResult>? TryGetResult<TResult>(this Task<TResult> task)
- public static Task<ValueTuple<Result<T1>, Result<T2>>> WhenAll<T1, T2>(Task<T1> task1, Task<T2> task2)
- public static Task<ValueTuple<Result<T1>, Result<T2>, Result<T3>>> WhenAll<T1, T2, T3>(Task<T1> task1, Task<T2> task2, Task<T3> task3)
- public static Task<ValueTuple<Result<T1>, Result<T2>, Result<T3>, Result<T4>>> WhenAll<T1, T2, T3, T4>(Task<T1> task1, Task<T2> task2, Task<T3> task3, Task<T4> task4)
- public static Task<ValueTuple<Result<T1>, Result<T2>, Result<T3>, Result<T4>, Result<T5>>> WhenAll<T1, T2, T3, T4, T5>(Task<T1> task1, Task<T2> task2, Task<T3> task3, Task<T4> task4, Task<T5> task5)
- public static ValueTask WhenAll(ValueTask task1, ValueTask task2)
- public static ValueTask<ValueTuple<Result<T1>, Result<T2>>> WhenAll<T1, T2>(ValueTask<T1> task1, ValueTask<T2> task2)
- public static ValueTask WhenAll(ValueTask task1, ValueTask task2, ValueTask task3)
- public static ValueTask<ValueTuple<Result<T1>, Result<T2>, Result<T3>>> WhenAll<T1, T2, T3>(ValueTask<T1> task1, ValueTask<T2> task2, ValueTask<T3> task3)
- public static ValueTask WhenAll(ValueTask task1, ValueTask task2, ValueTask task3, ValueTask task4)
- public static ValueTask<ValueTuple<Result<T1>, Result<T2>, Result<T3>, Result<T4>>> WhenAll<T1, T2, T3, T4>(ValueTask<T1> task1, ValueTask<T2> task2, ValueTask<T3> task3, ValueTask<T4> task4)
- public static ValueTask WhenAll(ValueTask task1, ValueTask task2, ValueTask task3, ValueTask task4, ValueTask task5)
- public static ValueTask<ValueTuple<Result<T1>, Result<T2>, Result<T3>, Result<T4>, Result<T5>>> WhenAll<T1, T2, T3, T4, T5>(ValueTask<T1> task1, ValueTask<T2> task2, ValueTask<T3> task3, ValueTask<T4> task4, ValueTask<T5> task5)
DotNext.VariantType
-
public interface IVariant : IDynamicMetaObjectProvider
-
public struct Variant<T1, T2> : IEquatable<Variant<T1, T2>>, IVariant, IDynamicMetaObjectProvider
-
public struct Variant<T1, T2, T3> : IVariant, IDynamicMetaObjectProvider, IEquatable<Variant<T1, T2, T3>>
-
public struct Variant<T1, T2, T3, T4> : IVariant, IDynamicMetaObjectProvider, IEquatable<Variant<T1, T2, T3, T4>>