API Diff between 4.2.0-beta.2 and 5.3.1
652 Additions
159 Removals
DotNext
-
public static class BasicExtensions
-
public sealed class BitwiseComparer<T> : IEqualityComparer<T>, IComparer<T> where T : struct
- public static int GetHashCode(ref T value, bool salted = true)
- 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 static class DelegateHelpers
-
public struct DelegatingConsumer<T> : IConsumer<T>
-
public struct DisclosedEndpoint<T> : IFiniteRangeEndpoint<T>, IRangeEndpoint<T> where T : IComparable<T>
-
public abstract class Disposable : IDisposable
-
public struct EnclosedEndpoint<T> : IFiniteRangeEndpoint<T>, IRangeEndpoint<T> where T : IComparable<T>
-
public static class EnumConverter
- public static TValue <TEnum, TValue>(TEnum value) where TEnum : struct, Enum where TValue : ValueType modreq(System.Runtime.InteropServices.UnmanagedType), INumberBase<TValue>, IConvertible
- 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 byte ToByte<T>(this T value) where T : struct, Enum
- public static T ToEnum<T>(this long value) where T : struct, Enum
- public static T ToEnum<T>(this int value) where T : struct, Enum
- public static T ToEnum<T>(this short value) where T : struct, Enum
- public static T ToEnum<T>(this byte value) where T : struct, Enum
- public static T ToEnum<T>(this sbyte value) where T : struct, Enum
- public static T ToEnum<T>(this ushort value) where T : struct, Enum
- public static T ToEnum<T>(this uint value) where T : struct, Enum
- public static T ToEnum<T>(this ulong value) where T : struct, Enum
- public static short ToInt16<T>(this T value) where T : struct, Enum
- public static int ToInt32<T>(this T value) where T : struct, Enum
- public static long ToInt64<T>(this T value) where T : struct, Enum
- public static sbyte ToSByte<T>(this T value) where T : struct, Enum
- public static ushort ToUInt16<T>(this T value) where T : struct, Enum
- public static uint ToUInt32<T>(this T value) where T : struct, Enum
- public static ulong ToUInt64<T>(this T value) where T : struct, Enum
-
public static class Func
-
public interface IFiniteRangeEndpoint<T> : IRangeEndpoint<T>
-
public interface IOptionMonad<T> : ISupplier<object>
-
public interface IOptionMonad<T, TSelf> : IOptionMonad<T>, ISupplier<object> where TSelf : struct, IOptionMonad<T, TSelf>
- T op_Explicit(TSelf& modreq(System.Runtime.InteropServices.InAttribute) container)
- T op_Explicit(ref TSelf container)
- bool op_False(ref TSelf container)
- bool op_True(ref TSelf container)
-
public interface IRangeEndpoint<T>
-
public interface IResettable
-
public interface IResultMonad<T, TError, TSelf> : IResultMonad<T, TError>, IOptionMonad<T>, ISupplier<object>, IOptionMonad<T, TSelf> where TSelf : struct, IResultMonad<T, TError, TSelf>
-
public interface ISupplier<TResult>
-
public static class ObjectExtensions
-
public static class OneDimensionalArray
- public static int BitwiseCompare<T>(this T[] first, T[] second) where T : ValueType modreq(System.Runtime.InteropServices.UnmanagedType)
- public static bool BitwiseEquals<T>(this T[] first, T[] second) where T : ValueType modreq(System.Runtime.InteropServices.UnmanagedType)
- public static int BitwiseHashCode<T>(this T[] array, bool salted = true) where T : ValueType modreq(System.Runtime.InteropServices.UnmanagedType)
- public static int BitwiseHashCode<T>(this T[] array, int hash, Func<int, int, int> hashFunction, bool salted = true) where T : ValueType modreq(System.Runtime.InteropServices.UnmanagedType)
- public static int BitwiseHashCode<T, THashFunction>(this T[] array, bool salted = true) where T : ValueType modreq(System.Runtime.InteropServices.UnmanagedType) where THashFunction : struct, IConsumer<int>, ISupplier<int>
- public static long BitwiseHashCode64<T>(this T[] array, long hash, Func<long, long, long> hashFunction, bool salted = true) where T : ValueType modreq(System.Runtime.InteropServices.UnmanagedType)
- public static long BitwiseHashCode64<T, THashFunction>(this T[] array, bool salted = true) where T : ValueType modreq(System.Runtime.InteropServices.UnmanagedType) where THashFunction : struct, IConsumer<long>, ISupplier<long>
- public static long BitwiseHashCode64<T>(this T[] array, bool salted = true) where T : ValueType modreq(System.Runtime.InteropServices.UnmanagedType)
- public static T[] Concat<T>(this T[] left, T[] right, long startIndex)
- public static void ForEach<T>(this T[] array, RefAction<T, IntPtr> action)
- public static void ForEach<T, TArg>(this T[] array, method action, TArg arg)
- public static T[] Insert<T>(this T[] array, T element, long index)
- public static T[] Insert<T>(this T[] array, T element, Index index)
- public static bool IsNullOrEmpty(this Array array)
- public static T[] RemoveAll<T>(this T[] array, Predicate<T> match, out long count)
- public static T[] RemoveAll<T>(this T[] array, method match, out long count)
- public static T[] RemoveAll<T>(this T[] array, Predicate<T> match, Action<T> callback)
- public static T[] RemoveAll<T>(this T[] array, method match, Action<T> callback)
- public static T[] RemoveAt<T>(this T[] array, long index)
- public static T[] RemoveAt<T>(this T[] array, Index index)
- public static T[] RemoveFirst<T>(this T[] input, long count)
- public static T[] RemoveLast<T>(this T[] input, long count)
- public static bool SequenceEqual(this object[] first, object[] second, bool parallel = false)
- public static T[] Slice<T>(this T[] input, long startIndex, long length)
- public static ArraySegment<T> Slice<T>(this T[] input, Range range)
-
public static class Optional
- public static T& modreq(System.Runtime.InteropServices.InAttribute) GetReference<T, TException>(ref Optional optional) where T : struct where TException : Exception
- public static T& modreq(System.Runtime.InteropServices.InAttribute) GetReference<T>(ref Optional optional, Func<Exception> exceptionFactory) where T : struct
- public static T& modreq(System.Runtime.InteropServices.InAttribute) GetReference<T>(ref Optional optional, method exceptionFactory) where T : struct
- public static T& modreq(System.Runtime.InteropServices.InAttribute) GetReference<T>(ref Optional optional) where T : struct
-
public struct Optional<T> : IEquatable<Optional<T>>, IEquatable<T>, IStructuralEquatable, IOptionMonad<T, Optional<T>>, IOptionMonad<T>, ISupplier<object>
-
public static class Predicate
-
public static class RandomExtensions
-
public static class Result
- public static T& modreq(System.Runtime.InteropServices.InAttribute) GetReference<T>(ref Result result)
- public static T& modreq(System.Runtime.InteropServices.InAttribute) GetReference<T, TError>(ref Result result) where TError : struct, Enum
-
public struct Result<T> : IResultMonad<T, Exception, Result<T>>, IResultMonad<T, Exception>, IOptionMonad<T>, ISupplier<object>, IOptionMonad<T, Result<T>>
-
public struct Result<T, TError> : IResultMonad<T, TError, Result<T, TError>>, IResultMonad<T, TError>, IOptionMonad<T>, ISupplier<object>, IOptionMonad<T, Result<T, TError>> where TError : struct, Enum
-
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, Func<int, int, int> hashFunction, bool salted = true) where T : ValueType modreq(System.Runtime.InteropServices.UnmanagedType)
- public static int BitwiseHashCode<T, THashFunction>(this Span<T> span, bool salted = true) where T : ValueType modreq(System.Runtime.InteropServices.UnmanagedType) where THashFunction : struct, IConsumer<int>, ISupplier<int>
- 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 int BitwiseHashCode<T, THashFunction>(this ReadOnlySpan<T> span, bool salted = true) where T : ValueType modreq(System.Runtime.InteropServices.UnmanagedType) where THashFunction : struct, IConsumer<int>, ISupplier<int>
- 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, THashFunction>(this Span<T> span, bool salted = true) where T : ValueType modreq(System.Runtime.InteropServices.UnmanagedType) where THashFunction : struct, IConsumer<long>, ISupplier<long>
- 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, THashFunction>(this ReadOnlySpan<T> span, bool salted = true) where T : ValueType modreq(System.Runtime.InteropServices.UnmanagedType) where THashFunction : struct, IConsumer<long>, ISupplier<long>
- 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 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 Optional<T> FirstOrEmpty<T>(this ReadOnlySpan<T> span)
- public static Optional<T> FirstOrNone<T>(this ReadOnlySpan<T> span)
- public static int FromHex(this ReadOnlySpan<char> chars, Span<byte> output)
- public static byte[] FromHex(this ReadOnlySpan<char> chars)
- public static void Move<T>(this Span<T> span, Range range, Index destinationIndex)
- public static Optional<T> PeekRandom<T>(this ReadOnlySpan<T> span, Random random)
- public static void Shuffle<T>(this Span<T> span, Random random)
- 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 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 Span<T> TrimLength<T>(this Span<T> span, int maxLength, out Span rest)
-
public static class StringExtensions
-
public struct UserDataSlot<TValue> : IEquatable<UserDataSlot<TValue>>
-
public static class ValueTypeExtensions
- public static bool IsOneOf<T>(this T value, IEnumerable<T> values) where T : struct, IEquatable<T>
- public static bool IsOneOf<T>(this T value, T[] values) where T : struct, IEquatable<T>
- 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 double NormalizeToDouble<T>(this T value, T min, T max) where T : struct, IConvertible, IComparable<T>
- public static float NormalizeToSingle<T>(this T value, T min, T max) where T : struct, IConvertible, IComparable<T>
- public static bool ToBoolean(this int value)
- public static byte ToByte(this bool value)
- public static int ToInt32(this bool value)
- public static int Truncate(this long value)
- public static bool TryGetValue<T>(this T? nullable, out T value) where T : struct
DotNext.Buffers
-
public static class BufferHelpers
- public static string BuildString(this ArrayBufferWriter<char> writer)
- 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 ref T GetReference<T>(ref MemoryOwner owner)
- public static T Read<T>(this ref SpanReader reader) where T : ValueType modreq(System.Runtime.InteropServices.UnmanagedType)
- public static double ReadDouble(this ref SpanReader reader, bool isLittleEndian)
- public static Half ReadHalf(this ref SpanReader reader, bool isLittleEndian)
- public static short ReadInt16(this ref SpanReader reader, bool isLittleEndian)
- public static int ReadInt32(this ref SpanReader reader, bool isLittleEndian)
- public static long ReadInt64(this ref SpanReader reader, bool isLittleEndian)
- public static float ReadSingle(this ref SpanReader reader, bool isLittleEndian)
- public static ushort ReadUInt16(this ref SpanReader reader, bool isLittleEndian)
- public static uint ReadUInt32(this ref SpanReader reader, bool isLittleEndian)
- public static ulong ReadUInt64(this ref SpanReader reader, bool isLittleEndian)
- public static void ReleaseAll<T>(this ref MemoryOwner owner) where T : IDisposable
- public static void Resize<T>(this ref MemoryOwner owner, int newLength, bool exactSize = true, MemoryAllocator<T> allocator = null)
- public static ReadOnlySequence<T> ToReadOnlySequence<T>(this IEnumerable<ReadOnlyMemory<T>> chunks)
- 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 TryRead<T>(this ref SpanReader reader, out T result) where T : ValueType modreq(System.Runtime.InteropServices.UnmanagedType)
- public static bool TryWrite<T>(this ref SpanWriter writer, ref T value) where T : ValueType modreq(System.Runtime.InteropServices.UnmanagedType)
- public static void Write(this ref BufferWriterSlim writer, StringBuilder input)
- public static void Write<T>(this IBufferWriter<T> writer, T value)
- public static void Write<T>(this IBufferWriter<T> writer, ref ReadOnlySequence value)
- public static void Write(this IBufferWriter<char> writer, StringBuilder input)
- public static void Write<T>(this ref SpanWriter writer, ref T value) where T : ValueType modreq(System.Runtime.InteropServices.UnmanagedType)
- public static void Write(this ref SpanWriter writer, StringBuilder input)
- public static void Write<T>(this ref SpanWriter writer, T value, ReadOnlySpan<char> format = default, IFormatProvider provider = null) where T : ISpanFormattable
- public static int WriteAsString<T>(this ref BufferWriterSlim writer, T value, string format = null, IFormatProvider provider = null)
- public static int WriteAsString<T>(this IBufferWriter<char> writer, T value, string format = null, IFormatProvider provider = null)
- public static void WriteDouble(this ref BufferWriterSlim builder, double value, bool isLittleEndian)
- public static void WriteDouble(this ref SpanWriter writer, double value, bool isLittleEndian)
- public static int WriteFormattable<T>(this ref BufferWriterSlim writer, T value, ReadOnlySpan<char> format = default, IFormatProvider provider = null) where T : ISpanFormattable
- public static void WriteFormattable<T>(this ref BufferWriterSlim writer, T value) where T : IBinaryFormattable<T>
- public static void WriteFormattable<T>(this ref BufferWriterSlim writer, ReadOnlySpan<T> values) where T : IBinaryFormattable<T>
- public static int WriteFormattable<T>(this IBufferWriter<char> writer, T value, ReadOnlySpan<char> format = default, IFormatProvider provider = null) where T : ISpanFormattable
- public static void WriteFormattable<T>(this IBufferWriter<byte> writer, T value) where T : IBinaryFormattable<T>
- public static void WriteFormattable<T>(this IBufferWriter<byte> writer, ReadOnlySpan<T> values) where T : IBinaryFormattable<T>
- public static void WriteHalf(this ref SpanWriter writer, Half value, bool isLittleEndian)
- public static void WriteInt16(this ref BufferWriterSlim builder, short value, bool isLittleEndian)
- public static void WriteInt16(this ref SpanWriter writer, short value, bool isLittleEndian)
- public static void WriteInt32(this ref BufferWriterSlim builder, int value, bool isLittleEndian)
- public static void WriteInt32(this ref SpanWriter writer, int value, bool isLittleEndian)
- public static void WriteInt64(this ref BufferWriterSlim builder, long value, bool isLittleEndian)
- public static void WriteInt64(this ref SpanWriter writer, long value, bool isLittleEndian)
- public static void WriteLine(this ref BufferWriterSlim writer)
- public static void WriteLine(this ref BufferWriterSlim writer, ReadOnlySpan<char> characters)
- public static void WriteLine(this IBufferWriter<char> writer)
- public static void WriteLine(this IBufferWriter<char> writer, ReadOnlySpan<char> characters)
- public static void WriteSingle(this ref BufferWriterSlim builder, float value, bool isLittleEndian)
- public static void WriteSingle(this ref SpanWriter writer, float value, bool isLittleEndian)
- public static int WriteString(this ref BufferWriterSlim writer, IFormatProvider provider, ref BufferWriterSlimInterpolatedStringHandler handler)
- public static int WriteString(this ref BufferWriterSlim writer, ref BufferWriterSlimInterpolatedStringHandler handler)
- public static int WriteString(this IBufferWriter<char> writer, IFormatProvider provider, ref BufferWriterInterpolatedStringHandler handler)
- public static int WriteString(this IBufferWriter<char> writer, ref BufferWriterInterpolatedStringHandler handler)
- public static void WriteUInt16(this ref BufferWriterSlim builder, ushort value, bool isLittleEndian)
- public static void WriteUInt16(this ref SpanWriter writer, ushort value, bool isLittleEndian)
- public static void WriteUInt32(this ref BufferWriterSlim builder, uint value, bool isLittleEndian)
- public static void WriteUInt32(this ref SpanWriter writer, uint value, bool isLittleEndian)
- public static void WriteUInt64(this ref BufferWriterSlim builder, ulong value, bool isLittleEndian)
- public static void WriteUInt64(this ref SpanWriter writer, ulong value, bool isLittleEndian)
-
public abstract class BufferWriter<T> : Disposable, IBufferWriter<T>, ISupplier<ReadOnlyMemory<T>>, IReadOnlyList<T>, IEnumerable<T>, IEnumerable, IReadOnlyCollection<T>, IGrowableBuffer<T>, IReadOnlySpanConsumer<T>, ISupplier<ReadOnlyMemory<T>, CancellationToken, ValueTask>, IDisposable
-
public struct BufferWriterSlim<T>
-
public static class ByteBuffer
-
public static class CharBuffer
-
public interface IBinaryFormattable<TSelf> where TSelf : IBinaryFormattable<TSelf>
-
public static class Memory
-
public static class MemoryAllocator
-
public struct MemoryOwner<T> : IMemoryOwner<T>, IDisposable, ISupplier<Memory<T>>, ISupplier<ReadOnlyMemory<T>>
- public ref T this[IntPtr index] { get; }
- public static MemoryOwner<T> Create<TArg>(method provider, int length, TArg arg, bool exactSize = true)
-
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 struct MemoryRental<T>
-
public static class MemoryTemplate
-
public struct MemoryTemplate<T> where T : IEquatable<T>
-
public sealed class PooledArrayBufferWriter<T> : BufferWriter<T>, ISupplier<ArraySegment<T>>, IList<T>, ICollection<T>, IEnumerable<T>, IEnumerable
-
public sealed class PooledBufferWriter<T> : BufferWriter<T>, IMemoryOwner<T>, IDisposable
-
public struct SpanOwner<T>
-
public struct SpanReader<T>
- public T& modreq(System.Runtime.InteropServices.InAttribute) Read()
- public T Read()
-
public struct SpanWriter<T>
-
public class SparseBufferWriter<T> : Disposable, IEnumerable<ReadOnlyMemory<T>>, IEnumerable, IGrowableBuffer<T>, IReadOnlySpanConsumer<T>, ISupplier<ReadOnlyMemory<T>, CancellationToken, ValueTask>, IDisposable, ISupplier<ReadOnlySequence<T>>, IBufferWriter<T>
DotNext.Buffers.Binary
DotNext.Buffers.Text
DotNext.Collections.Generic
-
public static class AsyncEnumerable
-
public static class Collection
- public struct ConsumingEnumerable<T> : IEnumerable<T>, IEnumerable
- 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 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 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 Optional<T> PeekRandom<T>(this IReadOnlyCollection<T> collection, Random random)
- public static IAsyncEnumerable<T> ToAsyncEnumerable<T>(this IEnumerable<T> enumerable)
- public static string ToString<T>(this IEnumerable<T> collection, string delimiter, string ifEmpty = "")
-
public static class Dictionary
-
public static class Enumerator
-
public static class List
-
public static class Set
-
public static class Sequence
- public struct AsyncGenerator<T> : IAsyncEnumerable<T>
- public struct ConsumingEnumerable<T> : IEnumerable<T>, IEnumerable
- public struct Generator<T>
- public struct LimitedEnumerator<T> : IEnumerator<T>, IEnumerator, IDisposable
- 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 Task<MemoryOwner<T>> CopyAsync<T>(this IAsyncEnumerable<T> enumerable, int sizeHint = 0, MemoryAllocator<T> allocator = null, CancellationToken token = default)
- public static bool ElementAt<T>(this IEnumerable<T> collection, int index, out T element)
- public static ValueTask<Optional<T>> ElementAtAsync<T>(this IAsyncEnumerable<T> collection, int index, CancellationToken token = default)
- public static Optional<T> FirstOrEmpty<T>(this IEnumerable<T> seq)
- public static Optional<T> FirstOrEmpty<T>(this IEnumerable<T> seq, Predicate<T> filter)
- public static ValueTask<Optional<T>> FirstOrEmptyAsync<T>(this IAsyncEnumerable<T> seq, CancellationToken token = default)
- public static ValueTask<Optional<T>> FirstOrEmptyAsync<T>(this IAsyncEnumerable<T> seq, Predicate<T> filter, CancellationToken token = default)
- public static Optional<T> FirstOrNone<T>(this IEnumerable<T> seq)
- public static Optional<T> FirstOrNone<T>(this IEnumerable<T> seq, Predicate<T> filter)
- 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 T? FirstOrNull<T>(this IEnumerable<T> seq) where T : struct
- public static ValueTask<T?> FirstOrNullAsync<T>(this IAsyncEnumerable<T> seq, CancellationToken token = default) where T : struct
- public static void ForEach<T>(this IEnumerable<T> collection, Action<T> action)
- 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 ForEachAsync<T>(this IEnumerable<T> collection, Func<T, CancellationToken, ValueTask> action, CancellationToken token = default)
- public static IAsyncEnumerator<T> GetAsyncEnumerator<T>(this IEnumerable<T> enumerable, CancellationToken token = default)
- public static ConsumingEnumerable<T> GetConsumer<T>(this IProducerConsumerCollection<T> collection)
- public static IAsyncEnumerable<T> GetEmptyAsyncEnumerable<T>()
- public static IEnumerator<T> GetEmptyEnumerator<T>()
- public static LimitedEnumerator<T> Limit<T>(this IEnumerator<T> enumerator, int count, bool leaveOpen = false)
- public static IEnumerable<T> Prepend<T>(this IEnumerable<T> collection, T[] items)
- public static int SequenceHashCode(this IEnumerable<object> sequence, bool salted = true)
- public static IEnumerable<T> Singleton<T>(T item)
- public static bool Skip<T>(this IEnumerator<T> enumerator, int count)
- public static bool Skip<TEnumerator, T>(this ref TEnumerator enumerator, int count) where TEnumerator : struct, IEnumerator<T>
- public static ValueTask<bool> SkipAsync<T>(this IAsyncEnumerator<T> enumerator, int count)
- public static IAsyncEnumerable<T> SkipNulls<T>(this IAsyncEnumerable<T> collection)
- public static IEnumerable<T> SkipNulls<T>(this IEnumerable<T> collection)
- public static Task<T[]> ToArrayAsync<T>(this IAsyncEnumerable<T> collection, int initialCapacity = 10, MemoryAllocator<T> allocator = null, CancellationToken token = default)
- public static IAsyncEnumerable<T> ToAsyncEnumerable<T>(this IEnumerable<T> enumerable)
- public static AsyncGenerator<T> ToAsyncEnumerable<T>(this Func<CancellationToken, ValueTask<Optional<T>>> generator)
- public static Generator<T> ToEnumerable<T>(this Func<Optional<T>> generator)
- public static IEnumerator<T> ToEnumerator<T>(ReadOnlyMemory<T> memory)
- public static IEnumerator<T> ToEnumerator<T>(ref ReadOnlySequence sequence)
- public static string ToString<T>(this IEnumerable<T> collection, string delimiter, string ifEmpty = "")
DotNext.Collections.Specialized
-
public class ConcurrentTypeMap : ITypeMap, IReadOnlyTypeMap
-
public class ConcurrentTypeMap<TValue> : ITypeMap<TValue>, IReadOnlyTypeMap<TValue>
- public Optional<TValue> Replace<TKey>(TValue value)
- public bool Set<TKey>(TValue newValue, out TValue oldValue)
-
public static class InvocationList
-
public struct InvocationList<TDelegate> : IReadOnlyCollection<TDelegate>, IEnumerable<TDelegate>, IEnumerable where TDelegate : MulticastDelegate
-
public interface IReadOnlyTypeMap
-
public interface ITypeMap : IReadOnlyTypeMap
-
public interface ITypeMap<TValue> : IReadOnlyTypeMap<TValue>
- Optional<TValue> Replace<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>
-
public class TypeMap : ITypeMap, IReadOnlyTypeMap
-
public class TypeMap<TValue> : ITypeMap<TValue>, IReadOnlyTypeMap<TValue>
- public Optional<TValue> Replace<TKey>(TValue value)
- public bool Set<TKey>(TValue newValue, out TValue oldValue)
DotNext.ComponentModel.DataAnnotations
DotNext.Diagnostics
DotNext.Generic
DotNext.IO
DotNext.IO.Hashing
DotNext.Numerics
DotNext.Patterns
DotNext.Reflection
DotNext.Runtime
-
public abstract class BoxedValue<T> where T : struct
-
public struct GCLatencyModeScope : IDisposable
-
public abstract class GCNotification
-
public static class Intrinsics
- public static int AlignOf<T>()
- public static bool AreCompatible<T1, T2>()
- public static bool AreSame<T>(ref T first, ref T second)
- 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 int Compare(Void* first, Void* second, UIntPtr length)
- public static void ClearBits(Void* address, IntPtr length)
- public static int Compare(Void* first, Void* second, IntPtr length)
- public static void Copy<T>(ref T source, out T destination, UIntPtr count) where T : ValueType modreq(System.Runtime.InteropServices.UnmanagedType)
- public static void Copy<T>(ref T source, out T destination, long count) where T : ValueType modreq(System.Runtime.InteropServices.UnmanagedType)
- public static bool Equals(Void* first, Void* second, UIntPtr length)
- public static UIntPtr GetLength(this Array array)
- public static T DefaultOf<T>()
- public static bool Equals(Void* first, Void* second, IntPtr length)
- public static Exception Error(object obj)
- public static void Finalize(object obj)
- public static int GetHashCode32<T>(Func<T, int, int> getter, int count, T arg, bool salted = true)
- public static int GetHashCode32(Void* source, IntPtr length, int hash, Func<int, int, int> hashFunction, bool salted = true)
- public static int GetHashCode32<THashFunction>(Void* source, IntPtr length, bool salted = true) where THashFunction : struct, IConsumer<int>, ISupplier<int>
- public static int GetHashCode32(Void* source, IntPtr length, bool salted = true)
- public static long GetHashCode64<T>(Func<T, int, long> getter, int count, T arg, bool salted = true)
- public static long GetHashCode64(Void* source, IntPtr length, long hash, Func<long, long, long> hashFunction, bool salted = true)
- public static long GetHashCode64<THashFunction>(Void* source, IntPtr length, bool salted = true) where THashFunction : struct, IConsumer<long>, ISupplier<long>
- public static long GetHashCode64(Void* source, IntPtr length, bool salted = true)
- public static IntPtr GetLength(Array array)
- public static TBase& modreq(System.Runtime.InteropServices.InAttribute) GetReadonlyRef<T, TBase>(this T[] array, IntPtr index) where T : TBase
- public static bool HasFlag<T>(T value, T flag) where T : struct, Enum
- public static void Reverse<T>(ref T value) where T : ValueType modreq(System.Runtime.InteropServices.UnmanagedType)
- public static T ShallowCopy<T>(T obj)
- public static void Throw(object obj)
- public static void ThrowIfNull<T>(ref T value)
-
public static class Reference
-
public struct Reference<TValue>
-
public class SoftReferenceOptions
DotNext.Runtime.Caching
DotNext.Runtime.CompilerServices
DotNext.Text
-
public struct Base64Decoder
- public bool NeedMoreData { get; }
- public void Decode(ReadOnlySpan<char> chars, IBufferWriter<byte> output)
- public void Decode(ref ReadOnlySequence chars, IBufferWriter<byte> output)
- public MemoryOwner<byte> Decode(ReadOnlySpan<char> chars, MemoryAllocator<byte> allocator = null)
- public void Decode<TConsumer>(ReadOnlySpan<char> chars, TConsumer output) where TConsumer : IReadOnlySpanConsumer<byte>
- public void Decode<TArg>(ReadOnlySpan<char> chars, ReadOnlySpanAction<byte, TArg> callback, TArg arg)
- public void Decode<TArg>(ReadOnlySpan<char> chars, method callback, TArg arg)
- public void Decode(ReadOnlySpan<byte> utf8Chars, IBufferWriter<byte> output)
- public void Decode(ref ReadOnlySequence utf8Chars, IBufferWriter<byte> output)
- public MemoryOwner<byte> Decode(ReadOnlySpan<byte> utf8Chars, MemoryAllocator<byte> allocator = null)
- public void Decode<TConsumer>(ReadOnlySpan<byte> utf8Chars, TConsumer output) where TConsumer : IReadOnlySpanConsumer<byte>
- public void Decode<TArg>(ReadOnlySpan<byte> utf8Chars, ReadOnlySpanAction<byte, TArg> output, TArg arg)
- public void Decode<TArg>(ReadOnlySpan<byte> utf8Chars, method output, TArg arg)
- public void Decode(ReadOnlySpan<byte> utf8Chars, Stream output)
- public void Reset()
-
public struct Base64Encoder
- public const int MaxBufferedDataSize = 2
- public const int MaxInputSize = 1610612733
- public int BufferedDataSize { get; }
- public bool HasBufferedData { get; }
- public void EncodeToChars(ReadOnlySpan<byte> bytes, IBufferWriter<char> output, bool flush = false)
- public MemoryOwner<char> EncodeToChars(ReadOnlySpan<byte> bytes, MemoryAllocator<char> allocator = null, bool flush = false)
- public void EncodeToChars<TConsumer>(ReadOnlySpan<byte> bytes, TConsumer output, bool flush = false) where TConsumer : IReadOnlySpanConsumer<char>
- public void EncodeToChars<TArg>(ReadOnlySpan<byte> bytes, ReadOnlySpanAction<char, TArg> output, TArg arg, bool flush = false)
- public void EncodeToChars<TArg>(ReadOnlySpan<byte> bytes, method output, TArg arg, bool flush = false)
- public void EncodeToChars(ReadOnlySpan<byte> bytes, TextWriter output, bool flush = false)
- public void EncodeToChars(ReadOnlySpan<byte> bytes, StringBuilder output, bool flush = false)
- public void EncodeToUtf8(ReadOnlySpan<byte> bytes, IBufferWriter<byte> output, bool flush = false)
- public MemoryOwner<byte> EncodeToUtf8(ReadOnlySpan<byte> bytes, MemoryAllocator<byte> allocator = null, bool flush = false)
- public void EncodeToUtf8<TConsumer>(ReadOnlySpan<byte> bytes, TConsumer output, bool flush = false) where TConsumer : IReadOnlySpanConsumer<byte>
- public void EncodeToUtf8<TArg>(ReadOnlySpan<byte> bytes, ReadOnlySpanAction<byte, TArg> output, TArg arg, bool flush = false)
- public void EncodeToUtf8<TArg>(ReadOnlySpan<byte> bytes, method output, TArg arg, bool flush = false)
- public void EncodeToUtf8(ReadOnlySpan<byte> bytes, Stream output, bool flush = false)
- public int Flush(Span<char> output)
- public int Flush(Span<byte> output)
- public int GetBufferedData(Span<byte> output)
- public void Reset()
-
public static class InterpolatedString
DotNext.Threading
-
public static class Atomic
-
public static class AsyncDelegate
- public static Task BeginInvoke(this Action<object> action, object state, AsyncCallback callback, TaskCreationOptions options = 0, TaskScheduler scheduler = null)
- public static Task BeginInvoke(this Action<object, CancellationToken> action, object state, AsyncCallback callback, TaskCreationOptions options = 0, TaskScheduler scheduler = null, CancellationToken token = default)
- public static Task<TResult> BeginInvoke<TResult>(this Func<object, TResult> function, object state, AsyncCallback callback, TaskCreationOptions options = 0, TaskScheduler scheduler = null)
- public static Task<TResult> BeginInvoke<TResult>(this Func<object, CancellationToken, TResult> function, object state, AsyncCallback callback, TaskCreationOptions options = 0, TaskScheduler scheduler = null, CancellationToken token = default)
- public static Task InvokeAsync<TDelegate>(this TDelegate delegate, Action<TDelegate> invoker, CancellationToken token = default) where TDelegate : MulticastDelegate
- public static Task InvokeAsync<TEventArgs>(this EventHandler<TEventArgs> handler, object sender, TEventArgs args, CancellationToken token = default)
- public static Task InvokeAsync(this EventHandler handler, object sender, EventArgs args, CancellationToken token = default)
- public static Task InvokeAsync(this Action action, CancellationToken token = default)
- public static Task InvokeAsync<T>(this Action<T> action, T arg, CancellationToken token = default)
- public static Task InvokeAsync<T1, T2>(this Action<T1, T2> action, T1 arg1, T2 arg2, CancellationToken token = default)
- public static Task InvokeAsync<T1, T2, T3>(this Action<T1, T2, T3> action, T1 arg1, T2 arg2, T3 arg3, CancellationToken token = default)
- public static Task InvokeAsync<T1, T2, T3, T4>(this Action<T1, T2, T3, T4> action, T1 arg1, T2 arg2, T3 arg3, T4 arg4, CancellationToken token = default)
- public static Task InvokeAsync<T1, T2, T3, T4, T5>(this Action<T1, T2, T3, T4, T5> action, T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5, CancellationToken token = default)
- public static Task InvokeAsync<T1, T2, T3, T4, T5, T6>(this Action<T1, T2, T3, T4, T5, T6> action, T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5, T6 arg6, CancellationToken token = default)
- public static Task InvokeAsync<T1, T2, T3, T4, T5, T6, T7>(this Action<T1, T2, T3, T4, T5, T6, T7> action, T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5, T6 arg6, T7 arg7, CancellationToken token = default)
- public static Task InvokeAsync<T1, T2, T3, T4, T5, T6, T7, T8>(this Action<T1, T2, T3, T4, T5, T6, T7, T8> action, T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5, T6 arg6, T7 arg7, T8 arg8, CancellationToken token = default)
- public static Task InvokeAsync<T1, T2, T3, T4, T5, T6, T7, T8, T9>(this Action<T1, T2, T3, T4, T5, T6, T7, T8, T9> action, T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5, T6 arg6, T7 arg7, T8 arg8, T9 arg9, CancellationToken token = default)
- public static Task InvokeAsync<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10>(this Action<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10> action, T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5, T6 arg6, T7 arg7, T8 arg8, T9 arg9, T10 arg10, CancellationToken token = default)
-
public interface IInterlockedOperations<T>
-
public struct AtomicBoolean : IEquatable<bool>
- public bool Value { get; set; }
- public AtomicBoolean(bool value)
- public bool AccumulateAndGet(bool x, Func<bool, bool, bool> accumulator)
- public bool AccumulateAndGet(bool x, method accumulator)
- public bool CompareAndSet(bool expected, bool update)
- public bool CompareExchange(bool update, bool expected)
- public bool Equals(bool other)
- public bool FalseToTrue()
- public bool GetAndAccumulate(bool x, Func<bool, bool, bool> accumulator)
- public bool GetAndAccumulate(bool x, method accumulator)
- public bool GetAndNegate()
- public bool GetAndSet(bool update)
- public bool GetAndUpdate(Func<bool, bool> updater)
- public bool GetAndUpdate(method updater)
- public bool NegateAndGet()
- public bool SetAndGet(bool update)
- public bool TrueToFalse()
- public bool UpdateAndGet(Func<bool, bool> updater)
- public bool UpdateAndGet(method updater)
-
public static class AtomicDouble
- public static double AccumulateAndGet(this ref double value, double x, Func<double, double, double> accumulator)
- public static double AccumulateAndGet(this ref double value, double x, method accumulator)
- public static double AddAndGet(this ref double value, double operand)
- public static bool CompareAndSet(this ref double value, double expected, double update)
- public static double DecrementAndGet(this ref double value)
- public static double GetAndAccumulate(this ref double value, double x, Func<double, double, double> accumulator)
- public static double GetAndAccumulate(this ref double value, double x, method accumulator)
- public static double GetAndAdd(this ref double value, double operand)
- public static double GetAndSet(this ref double value, double update)
- public static double GetAndUpdate(this ref double value, Func<double, double> updater)
- public static double GetAndUpdate(this ref double value, method updater)
- public static double IncrementAndGet(this ref double value)
- public static double SetAndGet(this ref double value, double update)
- public static double UpdateAndGet(this ref double value, Func<double, double> updater)
- public static double UpdateAndGet(this ref double value, method updater)
- public static double VolatileRead(this ref double value)
- public static void VolatileWrite(this ref double value, double newValue)
-
public static class AtomicEnum
- public static TEnum VolatileRead<TEnum>(this ref TEnum value) where TEnum : struct, Enum
- public static void VolatileWrite<TEnum>(this ref TEnum value, TEnum newValue) where TEnum : struct, Enum
-
public struct AtomicEnum<TEnum> : IEquatable<TEnum> where TEnum : struct, Enum
- public TEnum Value { get; set; }
- public AtomicEnum(TEnum value)
- public TEnum AccumulateAndGet(TEnum x, Func<TEnum, TEnum, TEnum> accumulator)
- public TEnum AccumulateAndGet(TEnum x, method accumulator)
- public bool CompareAndSet(TEnum expected, TEnum update)
- public TEnum CompareExchange(TEnum update, TEnum expected)
- public bool Equals(TEnum other)
- public TEnum GetAndAccumulate(TEnum x, Func<TEnum, TEnum, TEnum> accumulator)
- public TEnum GetAndAccumulate(TEnum x, method accumulator)
- public TEnum GetAndSet(TEnum update)
- public TEnum GetAndUpdate(Func<TEnum, TEnum> updater)
- public TEnum GetAndUpdate(method updater)
- public TEnum SetAndGet(TEnum update)
- public TEnum UpdateAndGet(Func<TEnum, TEnum> updater)
- public TEnum UpdateAndGet(method updater)
-
public static class AtomicInt32
- public static int AccumulateAndGet(this ref int value, int x, Func<int, int, int> accumulator)
- public static int AccumulateAndGet(this ref int value, int x, method accumulator)
- public static int AddAndGet(this ref int value, int operand)
- public static int BitwiseAndAndGet(this ref int value, int operand)
- public static int BitwiseOrAndGet(this ref int value, int operand)
- public static int BitwiseXorAndGet(this ref int value, int operand)
- public static bool CompareAndSet(this ref int value, int expected, int update)
- public static int DecrementAndGet(this ref int value)
- public static int GetAndAccumulate(this ref int value, int x, Func<int, int, int> accumulator)
- public static int GetAndAccumulate(this ref int value, int x, method accumulator)
- public static int GetAndAdd(this ref int value, int operand)
- public static int GetAndBitwiseAnd(this ref int value, int operand)
- public static int GetAndBitwiseOr(this ref int value, int operand)
- public static int GetAndBitwiseXor(this ref int value, int operand)
- public static int GetAndSet(this ref int value, int update)
- public static int GetAndUpdate(this ref int value, Func<int, int> updater)
- public static int GetAndUpdate(this ref int value, method updater)
- public static int IncrementAndGet(this ref int value)
- public static int SetAndGet(this ref int value, int update)
- public static int UpdateAndGet(this ref int value, Func<int, int> updater)
- public static int UpdateAndGet(this ref int value, method updater)
- public static int VolatileRead(this ref int value)
- public static void VolatileWrite(this ref int value, int newValue)
-
public static class AtomicInt64
- public static long AccumulateAndGet(this ref long value, long x, Func<long, long, long> accumulator)
- public static long AccumulateAndGet(this ref long value, long x, method accumulator)
- public static long AddAndGet(this ref long value, long operand)
- public static long BitwiseAndAndGet(this ref long value, long operand)
- public static long BitwiseOrAndGet(this ref long value, long operand)
- public static long BitwiseXorAndGet(this ref long value, long operand)
- public static bool CompareAndSet(this ref long value, long expected, long update)
- public static long DecrementAndGet(this ref long value)
- public static long GetAndAccumulate(this ref long value, long x, Func<long, long, long> accumulator)
- public static long GetAndAccumulate(this ref long value, long x, method accumulator)
- public static long GetAndAdd(this ref long value, long operand)
- public static long GetAndBitwiseAnd(this ref long value, long operand)
- public static long GetAndBitwiseOr(this ref long value, long operand)
- public static long GetAndBitwiseXor(this ref long value, long operand)
- public static long GetAndSet(this ref long value, long update)
- public static long GetAndUpdate(this ref long value, Func<long, long> updater)
- public static long GetAndUpdate(this ref long value, method updater)
- public static long IncrementAndGet(this ref long value)
- public static long SetAndGet(this ref long value, long update)
- public static long UpdateAndGet(this ref long value, Func<long, long> updater)
- public static long UpdateAndGet(this ref long value, method updater)
- public static long VolatileRead(this ref long value)
- public static void VolatileWrite(this ref long value, long newValue)
-
public static class AtomicIntPtr
- public static IntPtr AccumulateAndGet(this ref IntPtr value, IntPtr x, Func<IntPtr, IntPtr, IntPtr> accumulator)
- public static IntPtr AccumulateAndGet(this ref IntPtr value, IntPtr x, method accumulator)
- public static IntPtr AddAndGet(this ref IntPtr value, IntPtr operand)
- public static IntPtr BitwiseAndAndGet(this ref IntPtr value, IntPtr operand)
- public static IntPtr BitwiseOrAndGet(this ref IntPtr value, IntPtr operand)
- public static IntPtr BitwiseXorAndGet(this ref IntPtr value, IntPtr operand)
- public static bool CompareAndSet(this ref IntPtr value, IntPtr expected, IntPtr update)
- public static IntPtr DecrementAndGet(this ref IntPtr value)
- public static IntPtr GetAndAccumulate(this ref IntPtr value, IntPtr x, Func<IntPtr, IntPtr, IntPtr> accumulator)
- public static IntPtr GetAndAccumulate(this ref IntPtr value, IntPtr x, method accumulator)
- public static IntPtr GetAndAdd(this ref IntPtr value, IntPtr operand)
- public static IntPtr GetAndBitwiseAnd(this ref IntPtr value, IntPtr operand)
- public static IntPtr GetAndBitwiseOr(this ref IntPtr value, IntPtr operand)
- public static IntPtr GetAndBitwiseXor(this ref IntPtr value, IntPtr operand)
- public static IntPtr GetAndSet(this ref IntPtr value, IntPtr update)
- public static IntPtr GetAndUpdate(this ref IntPtr value, Func<IntPtr, IntPtr> updater)
- public static IntPtr GetAndUpdate(this ref IntPtr value, method updater)
- public static IntPtr IncrementAndGet(this ref IntPtr value)
- public static IntPtr SetAndGet(this ref IntPtr value, IntPtr update)
- public static IntPtr UpdateAndGet(this ref IntPtr value, Func<IntPtr, IntPtr> updater)
- public static IntPtr UpdateAndGet(this ref IntPtr value, method updater)
- public static IntPtr VolatileRead(this ref IntPtr value)
- public static void VolatileWrite(this ref IntPtr value, IntPtr newValue)
-
public static class AtomicReference
- public static T AccumulateAndGet<T>(ref T value, T x, Func<T, T, T> accumulator)
- public static T AccumulateAndGet<T>(ref T value, T x, method accumulator)
- public static bool CompareAndSet<T>(ref T value, T expected, T update)
- public static T GetAndAccumulate<T>(ref T value, T x, Func<T, T, T> accumulator)
- public static T GetAndAccumulate<T>(ref T value, T x, method accumulator)
- public static T GetAndUpdate<T>(ref T value, Func<T, T> updater)
- public static T GetAndUpdate<T>(ref T value, method updater)
- public static T UpdateAndGet<T>(ref T value, Func<T, T> updater)
- public static T UpdateAndGet<T>(ref T value, method updater)
-
public static class AtomicSingle
- public static float AccumulateAndGet(this ref float value, float x, Func<float, float, float> accumulator)
- public static float AccumulateAndGet(this ref float value, float x, method accumulator)
- public static float AddAndGet(this ref float value, float operand)
- public static bool CompareAndSet(this ref float value, float expected, float update)
- public static float DecrementAndGet(this ref float value)
- public static float GetAndAccumulate(this ref float value, float x, Func<float, float, float> accumulator)
- public static float GetAndAccumulate(this ref float value, float x, method accumulator)
- public static float GetAndAdd(this ref float value, float operand)
- public static float GetAndSet(this ref float value, float update)
- public static float GetAndUpdate(this ref float value, Func<float, float> updater)
- public static float GetAndUpdate(this ref float value, method updater)
- public static float IncrementAndGet(this ref float value)
- public static float SetAndGet(this ref float value, float update)
- public static float UpdateAndGet(this ref float value, Func<float, float> updater)
- public static float UpdateAndGet(this ref float value, method updater)
- public static float VolatileRead(this ref float value)
- public static void VolatileWrite(this ref float value, float newValue)
-
public static class AtomicUInt32
- public static uint AccumulateAndGet(this ref uint value, uint x, Func<uint, uint, uint> accumulator)
- public static uint AccumulateAndGet(this ref uint value, uint x, method accumulator)
- public static uint AddAndGet(this ref uint value, uint operand)
- public static uint BitwiseAndAndGet(this ref uint value, uint operand)
- public static uint BitwiseOrAndGet(this ref uint value, uint operand)
- public static uint BitwiseXorAndGet(this ref uint value, uint operand)
- public static bool CompareAndSet(this ref uint value, uint expected, uint update)
- public static uint DecrementAndGet(this ref uint value)
- public static uint GetAndAccumulate(this ref uint value, uint x, Func<uint, uint, uint> accumulator)
- public static uint GetAndAccumulate(this ref uint value, uint x, method accumulator)
- public static uint GetAndAdd(this ref uint value, uint operand)
- public static uint GetAndBitwiseAnd(this ref uint value, uint operand)
- public static uint GetAndBitwiseOr(this ref uint value, uint operand)
- public static uint GetAndBitwiseXor(this ref uint value, uint operand)
- public static uint GetAndSet(this ref uint value, uint update)
- public static uint GetAndUpdate(this ref uint value, Func<uint, uint> updater)
- public static uint GetAndUpdate(this ref uint value, method updater)
- public static uint IncrementAndGet(this ref uint value)
- public static uint SetAndGet(this ref uint value, uint update)
- public static uint UpdateAndGet(this ref uint value, Func<uint, uint> updater)
- public static uint UpdateAndGet(this ref uint value, method updater)
- public static uint VolatileRead(this ref uint value)
- public static void VolatileWrite(this ref uint value, uint newValue)
-
public static class AtomicUInt64
- public static ulong AccumulateAndGet(this ref ulong value, ulong x, Func<ulong, ulong, ulong> accumulator)
- public static ulong AccumulateAndGet(this ref ulong value, ulong x, method accumulator)
- public static ulong AddAndGet(this ref ulong value, ulong operand)
- public static ulong BitwiseAndAndGet(this ref ulong value, ulong operand)
- public static ulong BitwiseOrAndGet(this ref ulong value, ulong operand)
- public static ulong BitwiseXorAndGet(this ref ulong value, ulong operand)
- public static bool CompareAndSet(this ref ulong value, ulong expected, ulong update)
- public static ulong DecrementAndGet(this ref ulong value)
- public static ulong GetAndAccumulate(this ref ulong value, ulong x, Func<ulong, ulong, ulong> accumulator)
- public static ulong GetAndAccumulate(this ref ulong value, ulong x, method accumulator)
- public static ulong GetAndAdd(this ref ulong value, ulong operand)
- public static ulong GetAndBitwiseAnd(this ref ulong value, ulong operand)
- public static ulong GetAndBitwiseOr(this ref ulong value, ulong operand)
- public static ulong GetAndBitwiseXor(this ref ulong value, ulong operand)
- public static ulong GetAndSet(this ref ulong value, ulong update)
- public static ulong GetAndUpdate(this ref ulong value, Func<ulong, ulong> updater)
- public static ulong GetAndUpdate(this ref ulong value, method updater)
- public static ulong IncrementAndGet(this ref ulong value)
- public static ulong SetAndGet(this ref ulong value, ulong update)
- public static ulong UpdateAndGet(this ref ulong value, Func<ulong, ulong> updater)
- public static ulong UpdateAndGet(this ref ulong value, method updater)
- public static ulong VolatileRead(this ref ulong value)
- public static void VolatileWrite(this ref ulong value, ulong newValue)
-
public struct Timeout
DotNext.Threading.Tasks
-
public static class CompletedTask<T, TConstant> where TConstant : Constant<T>
-
public static class Continuation
- public static Task<T> OnCanceled<T, TConstant>(this Task<T> task, TaskScheduler scheduler = null) where TConstant : Constant<T>
- public static Task<Task> OnCompleted(this Task task)
- public static Task<Task<TResult>> OnCompleted<TResult>(this Task<TResult> task)
- public static Task<T> OnFaulted<T, TConstant>(this Task<T> task, TaskScheduler scheduler = null) where TConstant : Constant<T>
- public static Task<T> OnFaulted<T, TConstant>(this Task<T> task, Predicate<AggregateException> filter, TaskScheduler scheduler = null) where TConstant : Constant<T>
- public static Task<T> OnFaultedOrCanceled<T, TConstant>(this Task<T> task, TaskScheduler scheduler = null) where TConstant : Constant<T>
- public static Task<T> OnFaultedOrCanceled<T, TConstant>(this Task<T> task, Predicate<AggregateException> filter, TaskScheduler scheduler = null) where TConstant : Constant<T>
-
public static class Conversion