API Diff between 4.6.0 and 3.1.0
585 Additions
213 Removals
DotNext
-
public sealed class BitwiseComparer<T> : IEqualityComparer<T>, IComparer<T> where T : struct
- public static int GetHashCode(ref T value, int hash, method hashFunction, bool salted = true)
- public static int GetHashCode<THashFunction>(ref T value, bool salted = true) where THashFunction : struct, IConsumer<int>, ISupplier<int>
-
public abstract class CharComparer : IEqualityComparer<char>, IComparer<char>
-
public static class Comparison
-
public static class DelegateHelpers
-
public abstract class Disposable : IDisposable
-
public static class EnumConverter
-
public static class Func
-
public interface IOptionMonad<T> : ISupplier<object>
-
public interface IOptionMonad<T, TSelf> : IOptionMonad<T>, ISupplier<object> where TSelf : struct, IOptionMonad<T, TSelf>
-
public interface IResultMonad<T, TError> : IOptionMonad<T>, ISupplier<object>
-
public interface IResultMonad<T, TError, TSelf> : IResultMonad<T, TError>, IOptionMonad<T>, ISupplier<object>, IOptionMonad<T, TSelf> where TSelf : struct, IResultMonad<T, TError, TSelf>
-
public static class OneDimensionalArray
- public static int BitwiseHashCode<T>(this T[] array, int hash, method 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, method 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 void ForEach<T>(this T[] array, RefAction<T, long> action)
- public static void ForEach<T>(this T[] array, RefAction<T, IntPtr> action)
- public static bool IsNullOrEmpty<T>(this T[] array)
- public static T[] Insert<T>(this T[] array, T element, Index index)
- public static bool IsNullOrEmpty(this Array array)
- public static T[] RemoveAt<T>(this T[] array, Index index)
- public static ArraySegment<T> Slice<T>(this T[] input, ref Range range)
- public static ArraySegment<T> Slice<T>(this T[] input, Range range)
-
public static class Optional
-
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 Result
-
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> AsReadOnlySpan<T>(this ref ValueTuple tuple)
- public static ReadOnlySpan<T> AsReadOnlySpan<T>(this ref ValueTuple tuple)
- public static ReadOnlySpan<T> AsReadOnlySpan<T>(this ref ValueTuple tuple)
- public static ReadOnlySpan<T> AsReadOnlySpan<T>(this ref ValueTuple tuple)
- public static ReadOnlySpan<T> AsReadOnlySpan<T>(this ref ValueTuple tuple)
- public static ReadOnlySpan<T> AsReadOnlySpan<T>(this ref ValueTuple tuple)
- public static ReadOnlySpan<T> AsReadOnlySpan<T>(this ref ValueTuple tuple)
- public static ReadOnlySpan<T> AsReadOnlySpan<T>(this ref ValueTuple tuple)
- public static Span<T> AsSpan<T>(this ref ValueTuple tuple)
- public static Span<T> AsSpan<T>(this ref ValueTuple tuple)
- public static Span<T> AsSpan<T>(this ref ValueTuple tuple)
- public static Span<T> AsSpan<T>(this ref ValueTuple tuple)
- public static Span<T> AsSpan<T>(this ref ValueTuple tuple)
- public static Span<T> AsSpan<T>(this ref ValueTuple tuple)
- public static Span<T> AsSpan<T>(this ref ValueTuple tuple)
- public static Span<T> AsSpan<T>(this ref ValueTuple tuple)
- public static int BitwiseHashCode<T>(this Span<T> span, int hash, method 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, method 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, method 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, method 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 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 Optional<T> FirstOrNone<T>(this ReadOnlySpan<T> span, Predicate<T> filter)
- public static void Sort<T>(this Span<T> span, IComparer<T> comparison = null)
- public static void Sort<T>(this Span<T> span, Comparison<T> comparison)
- public static void Initialize<T>(this Span<T> span)
- public static Optional<T> LastOrNone<T>(this ReadOnlySpan<T> span)
- 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 class TupleExtensions
-
public sealed class UndefinedResultException<TError> : Exception where TError : struct, Enum
-
public struct UserDataSlot<TValue> : IEquatable<UserDataSlot<TValue>>
-
public struct UserDataStorage
-
public struct ValueSupplier<T> : ISupplier<T>
-
public static class ValueTypeExtensions
- public static IntPtr Add(this IntPtr x, IntPtr y)
- public static UIntPtr Add(this UIntPtr x, UIntPtr y)
- public static IntPtr AddChecked(this IntPtr x, IntPtr y)
- public static UIntPtr AddChecked(this UIntPtr x, UIntPtr y)
- public static UIntPtr And(this UIntPtr x, UIntPtr y)
- public static IntPtr And(this IntPtr x, IntPtr y)
- public static IntPtr Decrement(this IntPtr value)
- public static UIntPtr Decrement(this UIntPtr value)
- public static IntPtr Divide(this IntPtr x, IntPtr y)
- public static UIntPtr Divide(this UIntPtr x, UIntPtr y)
- public static bool GreaterThan(this IntPtr value, IntPtr comparand)
- public static bool GreaterThan(this UIntPtr value, UIntPtr comparand)
- public static bool GreaterThanOrEqual(this IntPtr value, IntPtr comparand)
- public static bool GreaterThanOrEqual(this UIntPtr value, UIntPtr comparand)
- public static IntPtr Increment(this IntPtr value)
- public static UIntPtr Increment(this UIntPtr value)
- public static IntPtr LeftShift(this IntPtr value, int bits)
- public static UIntPtr LeftShift(this UIntPtr value, int bits)
- public static bool LessThan(this IntPtr value, IntPtr comparand)
- public static bool LessThan(this UIntPtr value, UIntPtr comparand)
- public static bool LessThanOrEqual(this IntPtr value, IntPtr comparand)
- public static bool LessThanOrEqual(this UIntPtr value, UIntPtr comparand)
- public static IntPtr Multiply(this IntPtr x, IntPtr y)
- public static UIntPtr Multiply(this UIntPtr x, UIntPtr y)
- public static IntPtr MultiplyChecked(this IntPtr x, IntPtr y)
- public static UIntPtr MultiplyChecked(this UIntPtr x, UIntPtr y)
- public static IntPtr Negate(this IntPtr value)
- public static IntPtr OnesComplement(this IntPtr value)
- public static UIntPtr OnesComplement(this UIntPtr value)
- public static IntPtr Or(this IntPtr x, IntPtr y)
- public static UIntPtr Or(this UIntPtr x, UIntPtr y)
- public static IntPtr Remainder(this IntPtr x, IntPtr y)
- public static UIntPtr Remainder(this UIntPtr x, UIntPtr y)
- public static IntPtr RightShift(this IntPtr value, int bits)
- public static UIntPtr RightShift(this UIntPtr value, int bits)
- public static IntPtr Subtract(this IntPtr x, IntPtr y)
- public static UIntPtr Subtract(this UIntPtr x, UIntPtr y)
- public static IntPtr SubtractChecked(this IntPtr x, IntPtr y)
- public static UIntPtr SubtractChecked(this UIntPtr x, UIntPtr y)
- 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 IntPtr ToIntPtr(this UIntPtr value)
- public static IntPtr ToIntPtrChecked(this UIntPtr value)
- public static UIntPtr ToUIntPtr(this IntPtr value)
- public static UIntPtr ToUIntPtrChecked(this IntPtr value)
- public static IntPtr Xor(this IntPtr x, IntPtr y)
- public static UIntPtr Xor(this UIntPtr x, UIntPtr y)
DotNext.Buffers
-
public static class BufferHelpers
- public static void Concat(this ref BufferWriterSlim writer, ReadOnlySpan<string> values)
- public static void Concat(this IBufferWriter<char> writer, ReadOnlySpan<string> values)
- public static double ReadDouble(this ref SpanReader reader, bool isLittleEndian)
- public static Half ReadHalf(this ref SpanReader reader, bool isLittleEndian)
- public static float ReadSingle(this ref SpanReader reader, bool isLittleEndian)
- public static void Resize<T>(this ref MemoryOwner owner, int newLength, bool exactSize = true, MemoryAllocator<T> allocator = null)
- public static ReadOnlySequence<char> ToReadOnlySequence(this IEnumerable<string> strings)
- 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 void Write(this ref BufferWriterSlim writer, StringBuilder input)
- public static void Write<T>(this IBufferWriter<T> writer, ReadOnlySequence<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(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 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 struct BufferWriterInterpolatedStringHandler
-
public struct BufferWriterSlim<T>
-
public struct BufferWriterSlimInterpolatedStringHandler
-
public interface IBinaryFormattable<TSelf> where TSelf : IBinaryFormattable<TSelf>
-
public interface IGrowableBuffer<T> : IReadOnlySpanConsumer<T>, ISupplier<ReadOnlyMemory<T>, CancellationToken, ValueTask>, IDisposable
-
public static class MemoryAllocator
-
public struct MemoryOwner<T> : IMemoryOwner<T>, IDisposable, ISupplier<Memory<T>>, ISupplier<ReadOnlyMemory<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 PoolingInterpolatedStringHandler : IGrowableBuffer<char>, IReadOnlySpanConsumer<char>, ISupplier<ReadOnlyMemory<char>, CancellationToken, ValueTask>, IDisposable
-
public static class ReadOnlySequencePartitioner
-
public struct SpanReader<T>
-
public struct SpanWriter<T>
- public void Rewind(int count)
- public void Write<TArg>(method action, TArg arg, int count)
- public void Write<TArg>(method action, TArg arg, int count)
-
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.Collections.Generic
-
public static class Collection
-
public static class Dictionary
-
public static class List
-
public struct ListSegment<T> : IList<T>, ICollection<T>, IEnumerable<T>, IEnumerable, IReadOnlyList<T>, IReadOnlyCollection<T>
-
public static class Sequence
- 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 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 IAsyncEnumerable<T> GetEmptyAsyncEnumerable<T>()
- public static IEnumerator<T> GetEmptyEnumerator<T>()
- public static Optional<T> LastOrNone<T>(this IEnumerable<T> seq)
- public static ValueTask<Optional<T>> LastOrNoneAsync<T>(this IAsyncEnumerable<T> seq, CancellationToken token = default)
- public static T? LastOrNull<T>(this IEnumerable<T> seq) where T : struct
- public static ValueTask<T?> LastOrNullAsync<T>(this IAsyncEnumerable<T> seq, CancellationToken token = default) where T : struct
- public static IEnumerator<T> ToEnumerator<T>(ref ReadOnlySequence sequence)
DotNext.Collections.Specialized
DotNext.Diagnostics
DotNext.Net.Http
DotNext.Numerics
DotNext.Reflection
DotNext.Runtime
-
public struct Box<T> : IEquatable<Box<T>> where T : struct
-
public sealed class BoxedValue<T> where T : struct
-
public abstract class GCNotification
-
public static class Intrinsics
- public static void ClearBits(Void* address, long length)
- public static int Compare(Void* first, Void* second, long length)
- public static void ClearBits(Void* address, IntPtr length)
- public static int Compare(Void* first, Void* second, IntPtr length)
- public static bool Equals(Void* first, Void* second, long length)
- public static bool Equals(Void* first, Void* second, IntPtr length)
- public static T GetElement<T>(T[] array, IntPtr index)
- public static T GetElement<T>(T[] array, UIntPtr index)
- public static ref T GetElementReference<T>(T[] array, IntPtr index)
- public static ref T GetElementReference<T>(T[] array, UIntPtr index)
- public static void Finalize(object obj)
- public static int GetHashCode32(Void* source, long length, int hash, Func<int, int, int> hashFunction, bool salted = true)
- public static int GetHashCode32<THashFunction>(Void* source, long length, int hash, THashFunction hashFunction, bool salted = true) where THashFunction : struct, ISupplier<int, int, int>
- public static int GetHashCode32(Void* source, long length, 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(Void* source, long length, long hash, Func<long, long, long> hashFunction, bool salted = true)
- public static long GetHashCode64<THashFunction>(Void* source, long length, long hash, THashFunction hashFunction, bool salted = true) where THashFunction : struct, ISupplier<long, long, long>
- public static long GetHashCode64(Void* source, long length, 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 bool HasFinalizer(object obj)
- public static int PointerHashCode(Void* pointer)
- public static int ToInt32(bool low, bool high)
-
public static class Reference
-
public struct Reference<TValue>
-
public sealed class SoftReference<T> : IOptionMonad<T>, ISupplier<object>
-
public class SoftReferenceOptions
-
public enum SoftReferenceState
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 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 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.Text
-
public struct Base64Decoder
-
public struct Base64Encoder
- public const int MaxBufferedDataSize = 2
- public const int MaxCharsToFlush = 4
- public const int MaxInputSize = 1610612733
- public int BufferedDataSize { get; }
- public bool HasBufferedData { get; }
- public static IAsyncEnumerable<ReadOnlyMemory<char>> EncodeToCharsAsync(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 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
-
public struct StringBuilderConsumer : IReadOnlySpanConsumer<char>, ISupplier<ReadOnlyMemory<char>, CancellationToken, ValueTask>, IEquatable<StringBuilderConsumer>
DotNext.Text.Json
DotNext.Threading
-
public static class AtomicDouble
- public static double AccumulateAndGet(this double[] array, long index, double x, Func<double, double, double> accumulator)
- public static double AccumulateAndGet(this double[] array, long index, double x, method accumulator)
- public static double Add(this ref double value, double operand)
- public static double Add(this double[] array, long index, double operand)
- public static double AddAndGet(this ref double value, double operand)
- public static bool CompareAndSet(this double[] array, long index, double expected, double update)
- public static double CompareExchange(this double[] array, long index, double update, double comparand)
- public static double DecrementAndGet(this double[] array, long index)
- public static double GetAndAccumulate(this double[] array, long index, double x, Func<double, double, double> accumulator)
- public static double GetAndAccumulate(this double[] array, long index, double x, method accumulator)
- public static double GetAndAdd(this ref double value, double operand)
- public static double GetAndSet(this double[] array, long index, double update)
- public static double GetAndUpdate(this double[] array, long index, Func<double, double> updater)
- public static double GetAndUpdate(this double[] array, long index, method updater)
- public static double IncrementAndGet(this double[] array, long index)
- public static double SetAndGet(this double[] array, long index, double update)
- public static double UpdateAndGet(this double[] array, long index, Func<double, double> updater)
- public static double UpdateAndGet(this double[] array, long index, method updater)
- public static double VolatileRead(this double[] array, long index)
- public static void VolatileWrite(this double[] array, long index, double value)
-
public static class AtomicInt32
- public static int AccumulateAndGet(this int[] array, long index, int x, Func<int, int, int> accumulator)
- public static int AccumulateAndGet(this int[] array, long index, int x, method accumulator)
- public static int Add(this ref int value, int operand)
- public static int Add(this int[] array, long index, int operand)
- 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 int[] array, long index, int expected, int update)
- public static int CompareExchange(this int[] array, long index, int update, int comparand)
- public static int DecrementAndGet(this int[] array, long index)
- public static int GetAndAccumulate(this int[] array, long index, int x, Func<int, int, int> accumulator)
- public static int GetAndAccumulate(this int[] array, long index, 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 int[] array, long index, int update)
- public static int GetAndUpdate(this int[] array, long index, Func<int, int> updater)
- public static int GetAndUpdate(this int[] array, long index, method updater)
- public static int IncrementAndGet(this int[] array, long index)
- public static int SetAndGet(this int[] array, long index, int update)
- public static int UpdateAndGet(this int[] array, long index, Func<int, int> updater)
- public static int UpdateAndGet(this int[] array, long index, method updater)
- public static int VolatileRead(this int[] array, long index)
- public static void VolatileWrite(this int[] array, long index, int value)
-
public static class AtomicInt64
- public static long AccumulateAndGet(this long[] array, long index, long x, Func<long, long, long> accumulator)
- public static long AccumulateAndGet(this long[] array, long index, long x, method accumulator)
- public static long Add(this ref long value, long operand)
- public static long Add(this long[] array, long index, long operand)
- 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 long[] array, long index, long expected, long update)
- public static long CompareExchange(this long[] array, long index, long update, long comparand)
- public static long DecrementAndGet(this long[] array, long index)
- public static long GetAndAccumulate(this long[] array, long index, long x, Func<long, long, long> accumulator)
- public static long GetAndAccumulate(this long[] array, long index, 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 long[] array, long index, long update)
- public static long GetAndUpdate(this long[] array, long index, Func<long, long> updater)
- public static long GetAndUpdate(this long[] array, long index, method updater)
- public static long IncrementAndGet(this long[] array, long index)
- public static long SetAndGet(this long[] array, long index, long update)
- public static long UpdateAndGet(this long[] array, long index, Func<long, long> updater)
- public static long UpdateAndGet(this long[] array, long index, method updater)
- public static long VolatileRead(this long[] array, long index)
- public static void VolatileWrite(this long[] array, long index, long value)
-
public static class AtomicIntPtr
- public static IntPtr AccumulateAndGet(this IntPtr[] array, long index, IntPtr x, Func<IntPtr, IntPtr, IntPtr> accumulator)
- public static IntPtr AccumulateAndGet(this IntPtr[] array, long index, IntPtr x, method accumulator)
- public static IntPtr Add(this ref IntPtr value, IntPtr operand)
- 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 IntPtr[] array, long index, IntPtr expected, IntPtr update)
- public static IntPtr CompareExchange(this IntPtr[] array, long index, IntPtr update, IntPtr comparand)
- public static IntPtr DecrementAndGet(this IntPtr[] array, long index)
- public static IntPtr GetAndAccumulate(this IntPtr[] array, long index, IntPtr x, Func<IntPtr, IntPtr, IntPtr> accumulator)
- public static IntPtr GetAndAccumulate(this IntPtr[] array, long index, 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 IntPtr[] array, long index, IntPtr update)
- public static IntPtr GetAndUpdate(this IntPtr[] array, long index, Func<IntPtr, IntPtr> updater)
- public static IntPtr GetAndUpdate(this IntPtr[] array, long index, method updater)
- public static IntPtr IncrementAndGet(this IntPtr[] array, long index)
- public static IntPtr SetAndGet(this IntPtr[] array, long index, IntPtr update)
- public static IntPtr UpdateAndGet(this IntPtr[] array, long index, Func<IntPtr, IntPtr> updater)
- public static IntPtr UpdateAndGet(this IntPtr[] array, long index, method updater)
- public static IntPtr VolatileRead(this IntPtr[] array, long index)
- public static void VolatileWrite(this IntPtr[] array, long index, IntPtr value)
-
public static class AtomicReference
- public static T AccumulateAndGet<T>(T[] array, long index, T x, Func<T, T, T> accumulator)
- public static T AccumulateAndGet<T>(T[] array, long index, T x, method accumulator)
- public static bool CompareAndSet<T>(T[] array, long index, T expected, T update)
- public static T CompareExchange<T>(T[] array, long index, T update, T comparand)
- public static T GetAndAccumulate<T>(T[] array, long index, T x, Func<T, T, T> accumulator)
- public static T GetAndAccumulate<T>(T[] array, long index, T x, method accumulator)
- public static T GetAndSet<T>(T[] array, long index, T update)
- public static T GetAndUpdate<T>(T[] array, long index, Func<T, T> updater)
- public static T GetAndUpdate<T>(T[] array, long index, method updater)
- public static T SetAndGet<T>(T[] array, long index, T update)
- public static T UpdateAndGet<T>(T[] array, long index, Func<T, T> updater)
- public static T UpdateAndGet<T>(T[] array, long index, method updater)
- public static T VolatileRead<T>(T[] array, long index)
- public static void VolatileWrite<T>(T[] array, long index, T element)
-
public static class AtomicSingle
- public static float AccumulateAndGet(this float[] array, long index, float x, Func<float, float, float> accumulator)
- public static float AccumulateAndGet(this float[] array, long index, float x, method accumulator)
- public static float Add(this ref float value, float operand)
- public static float Add(this float[] array, long index, float operand)
- public static float AddAndGet(this ref float value, float operand)
- public static bool CompareAndSet(this float[] array, long index, float expected, float update)
- public static float CompareExchange(this float[] array, long index, float update, float comparand)
- public static float DecrementAndGet(this float[] array, long index)
- public static float GetAndAccumulate(this float[] array, long index, float x, Func<float, float, float> accumulator)
- public static float GetAndAccumulate(this float[] array, long index, float x, method accumulator)
- public static float GetAndAdd(this ref float value, float operand)
- public static float GetAndSet(this float[] array, long index, float update)
- public static float GetAndUpdate(this float[] array, long index, Func<float, float> updater)
- public static float GetAndUpdate(this float[] array, long index, method updater)
- public static float IncrementAndGet(this float[] array, long index)
- public static float SetAndGet(this float[] array, long index, float update)
- public static float UpdateAndGet(this float[] array, long index, Func<float, float> updater)
- public static float UpdateAndGet(this float[] array, long index, method updater)
- public static float VolatileRead(this float[] array, long index)
- public static void VolatileWrite(this float[] array, long index, float value)
-
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 Lock : IDisposable, IEquatable<Lock>
-
public struct ReaderWriterSpinLock
-
public static class ThreadPoolWorkItemFactory
-
public struct Timeout
DotNext.Threading.Tasks
-
public static class Continuation
-
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>>