API Diff between 4.13.1 and 4.0.0-rc.2
341 Additions
12 Removals
DotNext
-
public abstract class CharComparer : IEqualityComparer<char>, IComparer<char>
-
public static class DelegateHelpers
-
public struct DelegatingConsumer<T> : IConsumer<T>, IFunctional<Action<T>>, IEquatable<DelegatingConsumer<T>>
-
public abstract class Disposable : IDisposable
-
public static class Func
-
public interface IBuildable<TSelf, TBuilder> where TSelf : IBuildable<TSelf, TBuilder> where TBuilder : ISupplier<TSelf>, IResettable
-
public interface IOptionMonad<T> : ISupplier<object>, IFunctional<Func<object>>
-
public interface IResettable
-
public static class OneDimensionalArray
-
public static class Optional
-
public struct Optional<T> : IEquatable<Optional<T>>, IEquatable<T>, IStructuralEquatable, IOptionMonad<T, Optional<T>>, IOptionMonad<T>, ISupplier<object>, IFunctional<Func<object>>
-
public static class Predicate
-
public static class RandomExtensions
-
public static class Span
-
public struct UserDataSlot<TValue> : IEquatable<UserDataSlot<TValue>>
-
public struct UserDataStorage
DotNext.Buffers
-
public static class BufferHelpers
-
public struct BufferWriterSlim<T>
-
public struct MemoryOwner<T> : IMemoryOwner<T>, IDisposable, ISupplier<Memory<T>>, IFunctional<Func<Memory<T>>>, ISupplier<ReadOnlyMemory<T>>, IFunctional<Func<ReadOnlyMemory<T>>>
-
public sealed class PooledArrayBufferWriter<T> : BufferWriter<T>, ISupplier<ArraySegment<T>>, IFunctional<Func<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>, IFunctional<Func<ReadOnlyMemory<char>, CancellationToken, ValueTask>>, IDisposable, IResettable
-
public static class ReadOnlySequencePartitioner
-
public struct SpanWriter<T>
- 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, IGrowableBuffer<T>, IReadOnlySpanConsumer<T>, ISupplier<ReadOnlyMemory<T>, CancellationToken, ValueTask>, IFunctional<Func<ReadOnlyMemory<T>, CancellationToken, ValueTask>>, IDisposable, IResettable, ISupplier<ReadOnlySequence<T>>, IFunctional<Func<ReadOnlySequence<T>>>, IEnumerable<ReadOnlyMemory<T>>, IEnumerable, IBufferWriter<T>
DotNext.Buffers.Binary
DotNext.Buffers.Text
-
public struct Base64Decoder : IResettable
- public bool NeedMoreData { get; }
- public static IAsyncEnumerable<ReadOnlyMemory<byte>> DecodeFromUtf16Async(IAsyncEnumerable<ReadOnlyMemory<char>> chars, MemoryAllocator<byte> allocator = null, CancellationToken token = default)
- public static IAsyncEnumerable<ReadOnlyMemory<byte>> DecodeFromUtf8Async(IAsyncEnumerable<ReadOnlyMemory<byte>> utf8Chars, MemoryAllocator<byte> allocator = null, CancellationToken token = default)
- public void DecodeFromUtf16(ReadOnlySpan<char> chars, IBufferWriter<byte> output)
- public void DecodeFromUtf16(ref ReadOnlySequence chars, IBufferWriter<byte> output)
- public MemoryOwner<byte> DecodeFromUtf16(ReadOnlySpan<char> chars, MemoryAllocator<byte> allocator = null)
- public void DecodeFromUtf16<TConsumer>(ReadOnlySpan<char> chars, TConsumer output) where TConsumer : IReadOnlySpanConsumer<byte>
- public void DecodeFromUtf16<TArg>(ReadOnlySpan<char> chars, ReadOnlySpanAction<byte, TArg> callback, TArg arg)
- public void DecodeFromUtf16<TArg>(ReadOnlySpan<char> chars, method callback, TArg arg)
- public void DecodeFromUtf8(ReadOnlySpan<byte> utf8Chars, IBufferWriter<byte> output)
- public void DecodeFromUtf8(ref ReadOnlySequence utf8Chars, IBufferWriter<byte> output)
- public MemoryOwner<byte> DecodeFromUtf8(ReadOnlySpan<byte> utf8Chars, MemoryAllocator<byte> allocator = null)
- public void DecodeFromUtf8<TConsumer>(ReadOnlySpan<byte> utf8Chars, TConsumer output) where TConsumer : IReadOnlySpanConsumer<byte>
- public void DecodeFromUtf8<TArg>(ReadOnlySpan<byte> utf8Chars, ReadOnlySpanAction<byte, TArg> output, TArg arg)
- public void DecodeFromUtf8<TArg>(ReadOnlySpan<byte> utf8Chars, method output, TArg arg)
- public void DecodeFromUtf8(ReadOnlySpan<byte> utf8Chars, Stream output)
- public void Reset()
-
public struct Base64Encoder : IResettable
- 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 Hex
DotNext.Collections.Generic
-
public static class Dictionary
-
public static class Sequence
- 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 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 int SequenceHashCode(this IEnumerable<object> sequence, bool salted = true)
- public static int SequenceHashCode<T>(this IEnumerable<T> sequence, bool salted = true)
- public static IEnumerator<T> ToEnumerator<T>(ref ReadOnlySequence sequence)
DotNext.Collections.Specialized
DotNext.Diagnostics
DotNext.Numerics
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 void ClearBits(Void* address, UIntPtr length)
- public static int Compare(Void* first, Void* second, UIntPtr length)
- public static void Copy<T>(ref T source, out T destination, UIntPtr count) where T : ValueType modreq(System.Runtime.InteropServices.UnmanagedType)
- public static bool Equals(Void* first, Void* second, UIntPtr length)
- public static void Finalize(object obj)
- public static int GetHashCode32(Void* source, UIntPtr length, int hash, Func<int, int, int> hashFunction, bool salted = true)
- public static int GetHashCode32<THashFunction>(Void* source, UIntPtr length, bool salted = true) where THashFunction : struct, IConsumer<int>, ISupplier<int>
- public static int GetHashCode32(Void* source, UIntPtr length, bool salted = true)
- public static long GetHashCode64(Void* source, UIntPtr length, long hash, Func<long, long, long> hashFunction, bool salted = true)
- public static long GetHashCode64<THashFunction>(Void* source, UIntPtr length, bool salted = true) where THashFunction : struct, IConsumer<long>, ISupplier<long>
- public static long GetHashCode64(Void* source, UIntPtr length, bool salted = true)
- public static bool HasFinalizer(object obj)
- public static bool IsAtomic<T>()
-
public sealed class SoftReference<T> : IOptionMonad<T>, ISupplier<object>, IFunctional<Func<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 Capacity { get; }
- public int Count { get; }
- public Action<TKey, TValue> Eviction { get; set; }
- public bool ExecuteEvictionAsynchronously { get; set; }
- public TValue this[TKey key] { get; set; }
- public ConcurrentCache(int capacity, int concurrencyLevel, CacheEvictionPolicy evictionPolicy, IEqualityComparer<TKey> keyComparer = null)
- public ConcurrentCache(int capacity, CacheEvictionPolicy evictionPolicy, IEqualityComparer<TKey> keyComparer = null)
- public TValue AddOrUpdate(TKey key, TValue value, out bool added)
- public void Clear()
- public IEnumerator<KeyValuePair<TKey, TValue>> GetEnumerator()
- public TValue GetOrAdd(TKey key, TValue value, out bool added)
- public int TakeSnapshot(Span<KeyValuePair<TKey, TValue>> buffer, bool descendingOrder = true)
- public bool TryAdd(TKey key, TValue value)
- public bool TryGetValue(TKey key, out TValue value)
- public bool TryRemove(TKey key, out TValue value)
- public bool TryRemove(KeyValuePair<TKey, TValue> pair)
- public bool TryUpdate(TKey key, TValue newValue, TValue expectedValue)
DotNext.Runtime.CompilerServices
DotNext.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>, IFunctional<Func<ReadOnlyMemory<char>, CancellationToken, ValueTask>>, IEquatable<StringBuilderConsumer>
DotNext.Text.Json
DotNext.Threading
DotNext.Threading.Tasks