API Diff between 2.4.1 and 2.11.0
0 Additions
124 Removals
DotNext
-
public static class DelegateHelpers
-
public abstract class Disposable : IDisposable
-
public struct Enum<TEnum> : IEquatable<TEnum>, IComparable<TEnum>, IFormattable, IEquatable<Enum<TEnum>>, ISerializable, IConvertible<TEnum> where TEnum : struct, Enum
-
public static class ObjectExtensions
- public static T As<T>(this T obj)
-
public static class Optional
-
public struct Optional<T> : IEquatable<Optional<T>>, IEquatable<T>, IStructuralEquatable, ISerializable
-
public struct Result<T> : ISerializable
-
public static class Sequence
- public static ValueTask<Optional<T>> ElementAtAsync<T>(IAsyncEnumerable<T> collection, int index, CancellationToken token = default)
- public static ValueTask<Optional<T>> FirstOrEmptyAsync<T>(IAsyncEnumerable<T> seq, CancellationToken token = default)
- public static ValueTask<Optional<T>> FirstOrEmptyAsync<T>(IAsyncEnumerable<T> seq, ValueFunc<T, bool> filter, CancellationToken token = default)
- public static ValueTask<Optional<T>> FirstOrEmptyAsync<T>(IAsyncEnumerable<T> seq, Predicate<T> filter, CancellationToken token = default)
- public static ValueTask<T?> FirstOrNullAsync<T>(IAsyncEnumerable<T> seq, CancellationToken token = default) where T : struct
- public static ValueTask ForEachAsync<T>(IAsyncEnumerable<T> collection, ValueAction<T> action, CancellationToken token = default)
- public static ValueTask ForEachAsync<T>(IAsyncEnumerable<T> collection, Action<T> action, CancellationToken token = default)
- public static ValueTask ForEachAsync<T>(IAsyncEnumerable<T> collection, ValueFunc<T, CancellationToken, ValueTask> action, CancellationToken token = default)
- public static ValueTask ForEachAsync<T>(IAsyncEnumerable<T> collection, Func<T, CancellationToken, ValueTask> action, CancellationToken token = default)
- public static ValueTask ForEachAsync<T>(IEnumerable<T> collection, Func<T, CancellationToken, ValueTask> action, CancellationToken token = default)
- public static ValueTask ForEachAsync<T>(IEnumerable<T> collection, ValueFunc<T, CancellationToken, ValueTask> action, CancellationToken token = default)
- public static IAsyncEnumerator<T> GetAsyncEnumerator<T>(IEnumerable<T> enumerable, CancellationToken token = default)
- public static ValueTask<bool> SkipAsync<T>(IAsyncEnumerator<T> enumerator, int count)
- public static IAsyncEnumerable<T> SkipNulls<T>(IAsyncEnumerable<T> collection)
- public static Task<T[]> ToArrayAsync<T>(IAsyncEnumerable<T> collection, int initialCapacity = 10, MemoryAllocator<T> allocator = null, CancellationToken token = default)
- public static IAsyncEnumerable<T> ToAsyncEnumerable<T>(IEnumerable<T> enumerable)
- public static IEnumerator<T> ToEnumerator<T>(ReadOnlyMemory<T> memory)
-
public static class Span
-
public static class StringExtensions
- public static MemoryTemplate<char> AsTemplate(this string template, string placeholder)
- public static MemoryTemplate<char> AsTemplate(this string template, char placeholder)
-
public static class ValueTypeExtensions
- public static IntPtr LeftShift(this IntPtr value, IntPtr bits)
- public static IntPtr LeftShift(this IntPtr value, int bits)
- public static UIntPtr LeftShift(this UIntPtr value, IntPtr bits)
- public static UIntPtr LeftShift(this UIntPtr value, int bits)
- public static IntPtr RightShift(this IntPtr value, IntPtr bits)
- public static IntPtr RightShift(this IntPtr value, int bits)
- public static UIntPtr RightShift(this UIntPtr value, IntPtr bits)
- public static UIntPtr RightShift(this UIntPtr value, int bits)
- public static IntPtr ToIntPtrChecked(this UIntPtr value)
- public static UIntPtr ToUIntPtrChecked(this IntPtr value)
DotNext.Buffers
DotNext.Collections.Generic
DotNext.IO
-
public interface IFlushable
-
public static class StreamSource
- public static Stream AsStream(this ArraySegment<byte> segment, bool writable = false)
- public static Stream AsStream<TArg>(this ReadOnlySpanAction<byte, TArg> writer, TArg arg, Action<TArg> flush = null, Func<TArg, CancellationToken, Task> flushAsync = null)
- public static Stream AsStream<TArg>(this Func<ReadOnlyMemory<byte>, TArg, CancellationToken, ValueTask> writer, TArg arg, Action<TArg> flush = null, Func<TArg, CancellationToken, Task> flushAsync = null)
DotNext.Reflection
DotNext.Resources
DotNext.Runtime
DotNext.Runtime.CompilerServices
DotNext.Text
DotNext.Threading
-
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)
DotNext.Threading.Tasks