API Diff between 2.4.2 and 0.8.0
892 Additions
147 Removals
DotNext
-
public sealed class BitwiseComparer<T> : IEqualityComparer<T>, IComparer<T> where T : struct
- public static BitwiseComparer<T> Instance { get; }
- public static int Compare<TOther>(ref T first, ref TOther second) where TOther : struct
- public static bool Equals<TOther>(ref T first, ref TOther second) where TOther : struct
- public static int GetHashCode(ref T value, bool salted = true)
- public static int GetHashCode(ref T value, int hash, ref ValueFunc hashFunction, bool salted)
- public static int GetHashCode(ref T value, int hash, Func<int, int, int> hashFunction, bool salted = true)
-
public static class Comparable
-
public static class Comparison
-
public static class Converter
- public static Func<I, O> AsFunc<I, O>(this Converter<I, O> converter)
- public static Func<TInput, TOutput> AsFunc<TInput, TOutput>(this Converter<TInput, TOutput> converter)
- public static Converter<I, O> Identity<I, O>() where I : O
- public static ValueFunc<TInput, TOutput> AsValueFunc<TInput, TOutput>(this Converter<TInput, TOutput> converter, bool wrap = false)
- public static Converter<TInput, TOutput> Identity<TInput, TOutput>() where TInput : TOutput
- public static Result<TOutput> TryInvoke<TInput, TOutput>(this Converter<TInput, TOutput> converter, TInput input)
-
public static class DelegateHelpers
- public static D ChangeType<D>(this Delegate d) where D : Delegate
- public static EventHandler<O> Contravariant<I, O>(this EventHandler<I> handler) where O : I
- public static D CreateDelegate<D>(this MethodInfo method, object target = null) where D : Delegate
- public static Action Bind<T>(this Action<T> action, T obj)
- public static Func<TResult> Bind<T, TResult>(this Func<T, TResult> func, T obj)
- public static Func<T2, TResult> Bind<T1, T2, TResult>(this Func<T1, T2, TResult> func, T1 obj)
- public static Action<T2> Bind<T1, T2>(this Action<T1, T2> action, T1 obj)
- public static Func<T2, T3, TResult> Bind<T1, T2, T3, TResult>(this Func<T1, T2, T3, TResult> func, T1 obj)
- public static Action<T2, T3> Bind<T1, T2, T3>(this Action<T1, T2, T3> action, T1 obj)
- public static Func<T2, T3, T4, TResult> Bind<T1, T2, T3, T4, TResult>(this Func<T1, T2, T3, T4, TResult> func, T1 obj)
- public static Action<T2, T3, T4> Bind<T1, T2, T3, T4>(this Action<T1, T2, T3, T4> action, T1 obj)
- public static Func<T2, T3, T4, T5, TResult> Bind<T1, T2, T3, T4, T5, TResult>(this Func<T1, T2, T3, T4, T5, TResult> func, T1 obj)
- public static Action<T2, T3, T4, T5> Bind<T1, T2, T3, T4, T5>(this Action<T1, T2, T3, T4, T5> action, T1 obj)
- public static TDelegate ChangeType<TDelegate>(this Delegate d) where TDelegate : Delegate
- public static EventHandler<T> Contravariant<TBase, T>(this EventHandler<TBase> handler) where T : TBase
- public static Func<object, TDelegate> CreateClosedDelegateFactory<TDelegate>(Expression<TDelegate> expression) where TDelegate : Delegate
- public static TDelegate CreateDelegate<TDelegate>(this MethodInfo method, object target = null) where TDelegate : Delegate
- public static TDelegate CreateOpenDelegate<TDelegate>(Expression<TDelegate> expression) where TDelegate : Delegate
- public static Action<T> Unbind<T>(this Action action)
- public static Func<T, TResult> Unbind<T, TResult>(this Func<TResult> func)
- public static Func<T, TArg, TResult> Unbind<T, TArg, TResult>(this Func<TArg, TResult> func)
- public static Action<T, TArg> Unbind<T, TArg>(this Action<TArg> action)
- public static Func<T, T1, T2, TResult> Unbind<T, T1, T2, TResult>(this Func<T1, T2, TResult> func)
- public static Action<T, T1, T2> Unbind<T, T1, T2>(this Action<T1, T2> action)
- public static Func<T, T1, T2, T3, TResult> Unbind<T, T1, T2, T3, TResult>(this Func<T1, T2, T3, TResult> func)
- public static Action<T, T1, T2, T3> Unbind<T, T1, T2, T3>(this Action<T1, T2, T3> action)
- public static Func<T, T1, T2, T3, T4, TResult> Unbind<T, T1, T2, T3, T4, TResult>(this Func<T1, T2, T3, T4, TResult> func)
- public static Action<T, T1, T2, T3, T4> Unbind<T, T1, T2, T3, T4>(this Action<T1, T2, T3, T4> action)
- public static Func<T, T1, T2, T3, T4, T5, TResult> Unbind<T, T1, T2, T3, T4, T5, TResult>(this Func<T1, T2, T3, T4, T5, TResult> func)
- public static Action<T, T1, T2, T3, T4, T5> Unbind<T, T1, T2, T3, T4, T5>(this Action<T1, T2, T3, T4, T5> action)
-
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 EnumConverter
- public static bool IsOneOf<T>(this T value, T[] values) where T : struct, Enum
-
public static class EnumerableTuple
- public static EnumerableTuple<T, ValueTuple<T>> AsEnumerable<T>(this ValueTuple<T> tuple)
- public static EnumerableTuple<T, Tuple<T>> AsEnumerable<T>(this Tuple<T> tuple)
- public static EnumerableTuple<T, ValueTuple<T, T>> AsEnumerable<T>(this ValueTuple<T, T> tuple)
- public static EnumerableTuple<T, Tuple<T, T>> AsEnumerable<T>(this Tuple<T, T> tuple)
- public static EnumerableTuple<T, ValueTuple<T, T, T>> AsEnumerable<T>(this ValueTuple<T, T, T> tuple)
- public static EnumerableTuple<T, Tuple<T, T, T>> AsEnumerable<T>(this Tuple<T, T, T> tuple)
- public static EnumerableTuple<T, ValueTuple<T, T, T, T>> AsEnumerable<T>(this ValueTuple<T, T, T, T> tuple)
- public static EnumerableTuple<T, Tuple<T, T, T, T>> AsEnumerable<T>(this Tuple<T, T, T, T> tuple)
- public static EnumerableTuple<T, ValueTuple<T, T, T, T, T>> AsEnumerable<T>(this ValueTuple<T, T, T, T, T> tuple)
- public static EnumerableTuple<T, Tuple<T, T, T, T, T>> AsEnumerable<T>(this Tuple<T, T, T, T, T> tuple)
- public static EnumerableTuple<T, ValueTuple<T, T, T, T, T, T>> AsEnumerable<T>(this ValueTuple<T, T, T, T, T, T> tuple)
- public static EnumerableTuple<T, Tuple<T, T, T, T, T, T>> AsEnumerable<T>(this Tuple<T, T, T, T, T, T> tuple)
- public static EnumerableTuple<T, ValueTuple<T, T, T, T, T, T, T>> AsEnumerable<T>(this ValueTuple<T, T, T, T, T, T, T> tuple)
- public static EnumerableTuple<T, Tuple<T, T, T, T, T, T, T>> AsEnumerable<T>(this Tuple<T, T, T, T, T, T, T> tuple)
-
public struct EnumerableTuple<TItem, TTuple> : IReadOnlyList<TItem>, IEnumerable<TItem>, IEnumerable, IReadOnlyCollection<TItem> where TTuple : ITuple
-
public static class Func
- public static Converter<I, O> AsConverter<I, O>(this Func<I, O> function)
- public static Converter<TInput, TOutput> AsConverter<TInput, TOutput>(this Func<TInput, TOutput> function)
- public static Func<I, O> Identity<I, O>() where I : O
- public static Func<TInput, TOutput> Identity<TInput, TOutput>() where TInput : TOutput
- public static Func<T, bool> IsNotNull<T>()
- public static Func<T, bool> IsNull<T>()
- public static Result<TResult> TryInvoke<TResult>(this Func<TResult> function)
- public static Result<TResult> TryInvoke<T, TResult>(this Func<T, TResult> function, T arg)
- public static Result<TResult> TryInvoke<T1, T2, TResult>(this Func<T1, T2, TResult> function, T1 arg1, T2 arg2)
- public static Result<TResult> TryInvoke<T1, T2, T3, TResult>(this Func<T1, T2, T3, TResult> function, T1 arg1, T2 arg2, T3 arg3)
- public static Result<TResult> TryInvoke<T1, T2, T3, T4, TResult>(this Func<T1, T2, T3, T4, TResult> function, T1 arg1, T2 arg2, T3 arg3, T4 arg4)
- public static Result<TResult> TryInvoke<T1, T2, T3, T4, T5, TResult>(this Func<T1, T2, T3, T4, T5, TResult> function, T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5)
- public static Result<TResult> TryInvoke<T1, T2, T3, T4, T5, T6, TResult>(this Func<T1, T2, T3, T4, T5, T6, TResult> function, T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5, T6 arg6)
- public static Result<TResult> TryInvoke<T1, T2, T3, T4, T5, T6, T7, TResult>(this Func<T1, T2, T3, T4, T5, T6, T7, TResult> function, T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5, T6 arg6, T7 arg7)
- public static Result<TResult> TryInvoke<T1, T2, T3, T4, T5, T6, T7, T8, TResult>(this Func<T1, T2, T3, T4, T5, T6, T7, T8, TResult> function, T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5, T6 arg6, T7 arg7, T8 arg8)
- public static Result<TResult> TryInvoke<T1, T2, T3, T4, T5, T6, T7, T8, T9, TResult>(this Func<T1, T2, T3, T4, T5, T6, T7, T8, T9, TResult> function, T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5, T6 arg6, T7 arg7, T8 arg8, T9 arg9)
- public static Result<TResult> TryInvoke<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, TResult>(this Func<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, TResult> function, T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5, T6 arg6, T7 arg7, T8 arg8, T9 arg9, T10 arg10)
-
public interface IOptional
-
public sealed delegate ItemAction<I, V> : MulticastDelegate
-
public interface ICallable
-
public interface ICallable<TDelegate> : ICallable, IConvertible<TDelegate> where TDelegate : Delegate
-
public interface IConvertible<T>
-
public static class ObjectExtensions
- public static void Decompose<T, R1, R2>(this T obj, Func<T, R1> decomposer1, Func<T, R2> decomposer2, out R1 result1, out R2 result2)
- public static ValueTuple<R1, R2> Decompose<T, R1, R2>(this T obj, Func<T, R1> decomposer1, Func<T, R2> decomposer2)
- public static void Decompose<T, TResult1, TResult2>(this T obj, Func<T, TResult1> decomposer1, Func<T, TResult2> decomposer2, out TResult1 result1, out TResult2 result2)
- public static void Decompose<T, TResult1, TResult2>(this T obj, ref ValueFunc decomposer1, ref ValueFunc decomposer2, out TResult1 result1, out TResult2 result2)
- public static ValueTuple<TResult1, TResult2> Decompose<T, TResult1, TResult2>(this T obj, Func<T, TResult1> decomposer1, Func<T, TResult2> decomposer2)
- public static ValueTuple<TResult1, TResult2> Decompose<T, TResult1, TResult2>(this T obj, ref ValueFunc decomposer1, ref ValueFunc decomposer2)
-
public static class OneDimensionalArray
- public static int BitwiseHashCode<T>(this T[] array, int hash, ref ValueFunc hashFunction, bool salted = true) where T : ValueType modreq(System.Runtime.InteropServices.UnmanagedType)
- public static long BitwiseHashCode64<T>(this T[] array, long hash, ref ValueFunc hashFunction, bool salted = true) where T : ValueType modreq(System.Runtime.InteropServices.UnmanagedType)
- public static O[] ConvertAll<I, O>(this I[] input, Func<long, I, O> mapper)
- public static void ForEach<T>(this T[] array, ItemAction<long, T> action)
- public static T[] Concat<T>(this T[] left, T[] right, long startIndex)
- public static void ForEach<T>(this T[] array, ref ValueRefAction action)
- public static void ForEach<T>(this T[] array, RefAction<T, long> action)
- public static T[] RemoveAll<T>(this T[] array, ref ValueFunc match, out long count)
- public static T[] RemoveAll<T>(this T[] array, ref ValueFunc match, ref ValueAction callback)
- public static T[] RemoveAll<T>(this T[] array, Predicate<T> match, Action<T> callback)
- public static bool SequenceEqual<T>(this T[] first, T[] second) where T : IEquatable<T>
- public static bool SequenceEqual(this object[] first, object[] second)
- public static bool SequenceEqual(this object[] first, object[] second, bool parallel = false)
- public static ArraySegment<T> Slice<T>(this T[] input, ref Range range)
-
public static class Optional
- public static Task<Optional<O>> Convert<I, O>(this Task<Optional<I>> task, Converter<I, O> converter)
- public static Optional<T> EmptyIfNull<T>(this T value)
- public static Task<Optional<TOutput>> Convert<TInput, TOutput>(this Task<Optional<TInput>> task, Converter<TInput, TOutput> converter)
- public static Task<T?> OrNull<T>(this Task<Optional<T>> task) where T : struct
- public static Task<T> OrThrow<T, E>(this Task<Optional<T>> task, Func<E> exceptionFactory) where E : Exception
- public static Task<T> OrThrow<T, TException>(this Task<Optional<T>> task, Func<TException> exceptionFactory) where TException : Exception
-
public struct Optional<T> : IEquatable<Optional<T>>, IEquatable<T>, IStructuralEquatable, ISerializable
-
public static class Predicate
-
public static class RandomExtensions
-
public sealed delegate RefAction<T, TArgs> : MulticastDelegate
-
public sealed delegate RefFunc<T, TArgs, TResult> : MulticastDelegate
-
public static class Result
-
public struct Result<T> : ISerializable
-
public static class Sequence
- public struct LimitedEnumerator<T> : IEnumerator<T>, IEnumerator, IDisposable
- public static IEnumerable<T> Append<T>(this IEnumerable<T> collection, T[] items)
- public static Optional<T> FirstOrEmpty<T>(this IEnumerable<T> seq, ref ValueFunc filter)
- public static Optional<T> FirstOrEmpty<T>(this IEnumerable<T> seq, Predicate<T> filter)
- public static void ForEach<T>(this IEnumerable<T> collection, ref ValueAction action)
- 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 bool Skip<TEnumerator, T>(this ref TEnumerator enumerator, int count) where TEnumerator : struct, IEnumerator<T>
-
public static class Span
- public static Span<byte> AsBytes<T>(ref T value) where T : ValueType modreq(System.Runtime.InteropServices.UnmanagedType)
- public static Span<byte> AsBytes<T>(T* pointer) where T : ValueType modreq(System.Runtime.InteropServices.UnmanagedType)
- public static ReadOnlySpan<byte> AsReadOnlyBytes<T>(ref T value) where T : ValueType modreq(System.Runtime.InteropServices.UnmanagedType)
- public static int BitwiseHashCode<T>(this Span<T> span, int hash, ref ValueFunc hashFunction, bool salted = true) where T : ValueType modreq(System.Runtime.InteropServices.UnmanagedType)
- public static int BitwiseHashCode<T>(this ReadOnlySpan<T> span, int hash, ref ValueFunc hashFunction, bool salted = true) where T : ValueType modreq(System.Runtime.InteropServices.UnmanagedType)
- public static long BitwiseHashCode64<T>(this Span<T> span, long hash, ref ValueFunc hashFunction, bool salted = true) where T : ValueType modreq(System.Runtime.InteropServices.UnmanagedType)
- public static long BitwiseHashCode64<T>(this ReadOnlySpan<T> span, long hash, ref ValueFunc hashFunction, bool salted = true) where T : ValueType modreq(System.Runtime.InteropServices.UnmanagedType)
- public static void ForEach<T>(this Span<T> span, ref ValueRefAction action)
- public static void ForEach<T>(this Span<T> span, RefAction<T, int> action)
- public static int FromHex(this ReadOnlySpan<char> chars, Span<byte> output)
- public static byte[] FromHex(this ReadOnlySpan<char> chars)
- public static int IndexOf<T>(this ReadOnlySpan<T> span, T value, int startIndex, ref ValueFunc comparer)
- public static int IndexOf<T>(this ReadOnlySpan<T> span, T value, int startIndex, Func<T, T, bool> comparer)
- public static T Read<T>(ref ReadOnlySpan bytes) where T : ValueType modreq(System.Runtime.InteropServices.UnmanagedType)
- public static void Sort<T>(this Span<T> span, IComparer<T> comparison = null)
- public static void Sort<T>(this Span<T> span, ref ValueFunc comparison)
- public static void Sort<T>(this Span<T> span, Comparison<T> comparison)
- public static int ToHex(this ReadOnlySpan<byte> bytes, Span<char> output, bool lowercased = false)
- public static string ToHex(this ReadOnlySpan<byte> bytes, bool lowercased = false)
- public static Span<T> TrimLength<T>(this Span<T> span, int maxLength)
- public static ReadOnlySpan<T> TrimLength<T>(this ReadOnlySpan<T> span, int maxLength)
- public static void Write<T>(ref T value, ref Span output) where T : ValueType modreq(System.Runtime.InteropServices.UnmanagedType)
-
public static class StringExtensions
-
public struct UserDataSlot<TValue> : IEquatable<UserDataSlot<TValue>>
-
public struct UserDataStorage
- public interface IContainer
- public V Get<V>(UserDataSlot<V> slot, V defaultValue = null)
- public V GetOrSet<V>(UserDataSlot<V> slot)
- public V GetOrSet<V>(UserDataSlot<V> slot, Func<V> valueFactory)
- public bool Remove<V>(UserDataSlot<V> slot)
- public bool Remove<V>(UserDataSlot<V> slot, out V userData)
- public void Set<V>(UserDataSlot<V> slot, V userData)
- public bool TryGet<V>(UserDataSlot<V> slot, out V userData)
- public void CopyTo(object obj)
- public TValue Get<TValue>(UserDataSlot<TValue> slot, TValue defaultValue)
- public TValue Get<TValue>(UserDataSlot<TValue> slot)
- public TValue GetOrSet<TValue>(UserDataSlot<TValue> slot)
- public TBase GetOrSet<TBase, T>(UserDataSlot<TBase> slot) where T : TBase
- public TValue GetOrSet<TValue>(UserDataSlot<TValue> slot, Func<TValue> valueFactory)
- public TValue GetOrSet<T, TValue>(UserDataSlot<TValue> slot, T arg, Func<T, TValue> valueFactory)
- public TValue GetOrSet<T1, T2, TValue>(UserDataSlot<TValue> slot, T1 arg1, T2 arg2, Func<T1, T2, TValue> valueFactory)
- public TValue GetOrSet<TValue>(UserDataSlot<TValue> slot, ref ValueFunc valueFactory)
- public TValue GetOrSet<T, TValue>(UserDataSlot<TValue> slot, T arg, ref ValueFunc valueFactory)
- public TValue GetOrSet<T1, T2, TValue>(UserDataSlot<TValue> slot, T1 arg1, T2 arg2, ref ValueFunc valueFactory)
- public bool Remove<TValue>(UserDataSlot<TValue> slot)
- public bool Remove<TValue>(UserDataSlot<TValue> slot, out TValue userData)
- public void Set<TValue>(UserDataSlot<TValue> slot, TValue userData)
- public bool TryGet<TValue>(UserDataSlot<TValue> slot, out TValue userData)
-
public sealed class ValueType<T> : StrongBox<T> where T : struct
-
public struct ValueAction : IValueDelegate<Action>, ICallable<Action>, ICallable, IConvertible<Action>, ISupplier<Action>, IEquatable<ValueAction>
-
public struct ValueAction<T> : IValueDelegate<Action<T>>, ICallable<Action<T>>, ICallable, IConvertible<Action<T>>, ISupplier<Action<T>>, IEquatable<ValueAction<T>>, IConsumer<T>
-
public struct ValueAction<T1, T2> : IValueDelegate<Action<T1, T2>>, ICallable<Action<T1, T2>>, ICallable, IConvertible<Action<T1, T2>>, ISupplier<Action<T1, T2>>, IEquatable<ValueAction<T1, T2>>
-
public struct ValueAction<T1, T2, T3> : IValueDelegate<Action<T1, T2, T3>>, ICallable<Action<T1, T2, T3>>, ICallable, IConvertible<Action<T1, T2, T3>>, ISupplier<Action<T1, T2, T3>>, IEquatable<ValueAction<T1, T2, T3>>
- public bool IsEmpty { get; }
- public object Target { get; }
- public ValueAction(MethodInfo method)
- public ValueAction(Action<T1, T2, T3> action, bool wrap = false)
- public ValueAction(IntPtr modreq(DotNext.Runtime.CompilerServices.ManagedMethodPointer) methodPtr)
- public static bool op_Equality(ref ValueAction first, ref ValueAction second)
- public static Action<T1, T2, T3> op_Explicit(ref ValueAction pointer)
- public static bool op_Inequality(ref ValueAction first, ref ValueAction second)
- public bool Equals(ValueAction<T1, T2, T3> other)
- public void Invoke(T1 arg1, T2 arg2, T3 arg3)
- public Action<T1, T2, T3> ToDelegate()
-
public struct ValueAction<T1, T2, T3, T4> : IValueDelegate<Action<T1, T2, T3, T4>>, ICallable<Action<T1, T2, T3, T4>>, ICallable, IConvertible<Action<T1, T2, T3, T4>>, ISupplier<Action<T1, T2, T3, T4>>, IEquatable<ValueAction<T1, T2, T3, T4>>
- public bool IsEmpty { get; }
- public object Target { get; }
- public ValueAction(MethodInfo method)
- public ValueAction(Action<T1, T2, T3, T4> action, bool wrap = false)
- public ValueAction(IntPtr modreq(DotNext.Runtime.CompilerServices.ManagedMethodPointer) methodPtr)
- public static bool op_Equality(ref ValueAction first, ref ValueAction second)
- public static Action<T1, T2, T3, T4> op_Explicit(ref ValueAction pointer)
- public static bool op_Inequality(ref ValueAction first, ref ValueAction second)
- public bool Equals(ValueAction<T1, T2, T3, T4> other)
- public void Invoke(T1 arg1, T2 arg2, T3 arg3, T4 arg4)
- public Action<T1, T2, T3, T4> ToDelegate()
-
public struct ValueAction<T1, T2, T3, T4, T5> : IValueDelegate<Action<T1, T2, T3, T4, T5>>, ICallable<Action<T1, T2, T3, T4, T5>>, ICallable, IConvertible<Action<T1, T2, T3, T4, T5>>, ISupplier<Action<T1, T2, T3, T4, T5>>, IEquatable<ValueAction<T1, T2, T3, T4, T5>>
- public bool IsEmpty { get; }
- public object Target { get; }
- public ValueAction(MethodInfo method)
- public ValueAction(Action<T1, T2, T3, T4, T5> action, bool wrap = false)
- public ValueAction(IntPtr modreq(DotNext.Runtime.CompilerServices.ManagedMethodPointer) methodPtr)
- public static bool op_Equality(ref ValueAction first, ref ValueAction second)
- public static Action<T1, T2, T3, T4, T5> op_Explicit(ref ValueAction pointer)
- public static bool op_Inequality(ref ValueAction first, ref ValueAction second)
- public bool Equals(ValueAction<T1, T2, T3, T4, T5> other)
- public void Invoke(T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5)
- public Action<T1, T2, T3, T4, T5> ToDelegate()
-
public struct ValueFunc<TResult> : IValueDelegate<Func<TResult>>, ICallable<Func<TResult>>, ICallable, IConvertible<Func<TResult>>, ISupplier<Func<TResult>>, IEquatable<ValueFunc<TResult>>, ISupplier<TResult>
-
public struct ValueFunc<T, TResult> : IValueDelegate<Func<T, TResult>>, ICallable<Func<T, TResult>>, ICallable, IConvertible<Func<T, TResult>>, ISupplier<Func<T, TResult>>, IValueDelegate<Converter<T, TResult>>, ICallable<Converter<T, TResult>>, IConvertible<Converter<T, TResult>>, ISupplier<Converter<T, TResult>>, IEquatable<ValueFunc<T, TResult>>
-
public struct ValueFunc<T1, T2, TResult> : IValueDelegate<Func<T1, T2, TResult>>, ICallable<Func<T1, T2, TResult>>, ICallable, IConvertible<Func<T1, T2, TResult>>, ISupplier<Func<T1, T2, TResult>>, IEquatable<ValueFunc<T1, T2, TResult>>, ISupplier<T1, T2, TResult>
- public bool IsEmpty { get; }
- public object Target { get; }
- public ValueFunc(MethodInfo method)
- public ValueFunc(Func<T1, T2, TResult> func, bool wrap = false)
- public ValueFunc(IntPtr modreq(DotNext.Runtime.CompilerServices.ManagedMethodPointer) methodPtr)
- public static bool op_Equality(ref ValueFunc first, ref ValueFunc second)
- public static Func<T1, T2, TResult> op_Explicit(ref ValueFunc pointer)
- public static bool op_Inequality(ref ValueFunc first, ref ValueFunc second)
- public bool Equals(ValueFunc<T1, T2, TResult> other)
- public TResult Invoke(T1 arg1, T2 arg2)
- public Func<T1, T2, TResult> ToDelegate()
-
public struct ValueFunc<T1, T2, T3, TResult> : IValueDelegate<Func<T1, T2, T3, TResult>>, ICallable<Func<T1, T2, T3, TResult>>, ICallable, IConvertible<Func<T1, T2, T3, TResult>>, ISupplier<Func<T1, T2, T3, TResult>>, IEquatable<ValueFunc<T1, T2, T3, TResult>>
- public bool IsEmpty { get; }
- public object Target { get; }
- public ValueFunc(MethodInfo method)
- public ValueFunc(Func<T1, T2, T3, TResult> func, bool wrap = false)
- public ValueFunc(IntPtr modreq(DotNext.Runtime.CompilerServices.ManagedMethodPointer) methodPtr)
- public static bool op_Equality(ref ValueFunc first, ref ValueFunc second)
- public static Func<T1, T2, T3, TResult> op_Explicit(ref ValueFunc pointer)
- public static bool op_Inequality(ref ValueFunc first, ref ValueFunc second)
- public bool Equals(ValueFunc<T1, T2, T3, TResult> other)
- public TResult Invoke(T1 arg1, T2 arg2, T3 arg3)
- public Func<T1, T2, T3, TResult> ToDelegate()
-
public struct ValueFunc<T1, T2, T3, T4, TResult> : IValueDelegate<Func<T1, T2, T3, T4, TResult>>, ICallable<Func<T1, T2, T3, T4, TResult>>, ICallable, IConvertible<Func<T1, T2, T3, T4, TResult>>, ISupplier<Func<T1, T2, T3, T4, TResult>>, IEquatable<ValueFunc<T1, T2, T3, T4, TResult>>
- public bool IsEmpty { get; }
- public object Target { get; }
- public ValueFunc(MethodInfo method)
- public ValueFunc(Func<T1, T2, T3, T4, TResult> func, bool wrap = false)
- public ValueFunc(IntPtr modreq(DotNext.Runtime.CompilerServices.ManagedMethodPointer) methodPtr)
- public static bool op_Equality(ref ValueFunc first, ref ValueFunc second)
- public static Func<T1, T2, T3, T4, TResult> op_Explicit(ref ValueFunc pointer)
- public static bool op_Inequality(ref ValueFunc first, ref ValueFunc second)
- public bool Equals(ValueFunc<T1, T2, T3, T4, TResult> other)
- public TResult Invoke(T1 arg1, T2 arg2, T3 arg3, T4 arg4)
- public Func<T1, T2, T3, T4, TResult> ToDelegate()
-
public struct ValueFunc<T1, T2, T3, T4, T5, TResult> : IValueDelegate<Func<T1, T2, T3, T4, T5, TResult>>, ICallable<Func<T1, T2, T3, T4, T5, TResult>>, ICallable, IConvertible<Func<T1, T2, T3, T4, T5, TResult>>, ISupplier<Func<T1, T2, T3, T4, T5, TResult>>, IEquatable<ValueFunc<T1, T2, T3, T4, T5, TResult>>
- public bool IsEmpty { get; }
- public object Target { get; }
- public ValueFunc(MethodInfo method)
- public ValueFunc(Func<T1, T2, T3, T4, T5, TResult> func, bool wrap = false)
- public ValueFunc(IntPtr modreq(DotNext.Runtime.CompilerServices.ManagedMethodPointer) methodPtr)
- public static bool op_Equality(ref ValueFunc first, ref ValueFunc second)
- public static Func<T1, T2, T3, T4, T5, TResult> op_Explicit(ref ValueFunc pointer)
- public static bool op_Inequality(ref ValueFunc first, ref ValueFunc second)
- public bool Equals(ValueFunc<T1, T2, T3, T4, T5, TResult> other)
- public TResult Invoke(T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5)
- public Func<T1, T2, T3, T4, T5, TResult> ToDelegate()
-
public struct ValueRefAction<T, TArgs> : IValueDelegate<RefAction<T, TArgs>>, ICallable<RefAction<T, TArgs>>, ICallable, IConvertible<RefAction<T, TArgs>>, ISupplier<RefAction<T, TArgs>>, IEquatable<ValueRefAction<T, TArgs>>
-
public struct ValueRefFunc<T, TArgs, TResult> : IValueDelegate<RefFunc<T, TArgs, TResult>>, ICallable<RefFunc<T, TArgs, TResult>>, ICallable, IConvertible<RefFunc<T, TArgs, TResult>>, ISupplier<RefFunc<T, TArgs, TResult>>, IEquatable<ValueRefFunc<T, TArgs, TResult>>
- public bool IsEmpty { get; }
- public object Target { get; }
- public ValueRefFunc(MethodInfo method)
- public ValueRefFunc(RefFunc<T, TArgs, TResult> func, bool wrap = false)
- public ValueRefFunc(IntPtr modreq(DotNext.Runtime.CompilerServices.ManagedMethodPointer) methodPtr)
- public static bool op_Equality(ref ValueRefFunc first, ref ValueRefFunc second)
- public static RefFunc<T, TArgs, TResult> op_Explicit(ref ValueRefFunc pointer)
- public static bool op_Inequality(ref ValueRefFunc first, ref ValueRefFunc second)
- public bool Equals(ValueRefFunc<T, TArgs, TResult> other)
- public TResult Invoke(ref T reference, TArgs args)
- public RefFunc<T, TArgs, TResult> ToDelegate()
-
public static class ValueTypeExtensions
- public static void BitCast<FROM, TO>(this FROM input, out TO output) where FROM : ValueType modreq(System.Runtime.InteropServices.UnmanagedType) where TO : ValueType modreq(System.Runtime.InteropServices.UnmanagedType)
- public static TO BitCast<FROM, TO>(this FROM input) where FROM : ValueType modreq(System.Runtime.InteropServices.UnmanagedType) where TO : ValueType modreq(System.Runtime.InteropServices.UnmanagedType)
- public static ValueType<T> Box<T>(this T value) where T : struct
- 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 float EnsureFinite(this float value)
- public static double EnsureFinite(this double value)
- 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 bool TryGet<T>(this T? nullable, out T value) where T : struct
- 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 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 bool ToBoolean(this int value)
- public static byte ToByte(this bool value)
- public static int ToInt32(this bool value)
- public static IntPtr ToIntPtr(this UIntPtr value)
- public static UIntPtr ToUIntPtr(this IntPtr value)
- public static int Truncate(this long value)
- public static bool TryGetValue<T>(this T? nullable, out T value) where T : struct
- public static IntPtr Xor(this IntPtr x, IntPtr y)
- public static UIntPtr Xor(this UIntPtr x, UIntPtr y)
DotNext.Buffers
-
public struct ArrayRental<T> : IMemoryOwner<T>, IDisposable, IConvertible<Memory<T>>, IConvertible<ArraySegment<T>>, IConvertible<MemoryOwner<T>>
-
public static class ChunkSequence
-
public struct ChunkSequence<T> : IEnumerable<ReadOnlyMemory<T>>, IEnumerable
-
public static class MemoryAllocator
-
public sealed delegate MemoryAllocator<T> : MulticastDelegate
-
public struct MemoryOwner<T> : IMemoryOwner<T>, IDisposable, IConvertible<Memory<T>>
-
public struct MemoryRental<T>
-
public abstract class MemoryWriter<T> : Disposable, IBufferWriter<T>, IConvertible<ReadOnlyMemory<T>>
-
public static class PooledArrayBufferWriter
-
public sealed class PooledArrayBufferWriter<T> : MemoryWriter<T>, IConvertible<ArraySegment<T>>
-
public sealed class PooledBufferWriter<T> : MemoryWriter<T>
DotNext.Collections.Concurrent
DotNext.Collections.Generic
-
public static class Collection
- public static ReadOnlyCollectionView<T> AsReadOnlyView<T>(this ICollection<T> collection)
- public static ReadOnlyCollectionView<I, O> Convert<I, O>(this IReadOnlyCollection<I> collection, Converter<I, O> converter)
- public static ReadOnlyCollectionView<TInput, TOutput> Convert<TInput, TOutput>(this IReadOnlyCollection<TInput> collection, ref ValueFunc converter)
- public static ReadOnlyCollectionView<TInput, TOutput> Convert<TInput, TOutput>(this IReadOnlyCollection<TInput> collection, Converter<TInput, TOutput> converter)
-
public static class Dictionary
- public static ReadOnlyDictionaryView<K, V> AsReadOnlyView<K, V>(this IDictionary<K, V> dictionary)
- public static ReadOnlyDictionaryView<K, V, T> Convert<K, V, T>(this IReadOnlyDictionary<K, V> dictionary, Converter<V, T> mapper)
- public static Optional<T> ConvertValue<K, V, T>(this IDictionary<K, V> dictionary, K key, Converter<V, T> mapper)
- public static bool ConvertValue<K, V, T>(this IDictionary<K, V> dictionary, K key, Converter<V, T> mapper, out T value)
- public static void Deconstruct<K, V>(this KeyValuePair<K, V> pair, out K key, out V value)
- public static void ForEach<K, V>(this IDictionary<K, V> dictionary, Action<K, V> action)
- public static V GetOrAdd<K, V>(this Dictionary<K, V> dictionary, K key, V value)
- public static V GetOrAdd<K, V>(this Dictionary<K, V> dictionary, K key, Func<K, V> valueFactory)
- public static V GetOrInvoke<K, V>(this IDictionary<K, V> dictionary, K key, Func<V> defaultValue)
- public static Func<K, V> IndexerGetter<K, V>(this IReadOnlyDictionary<K, V> dictionary)
- public static Func<K, V> IndexerGetter<K, V>(this IDictionary<K, V> dictionary)
- public static Action<K, V> IndexerSetter<K, V>(this IDictionary<K, V> dictionary)
- public static ReadOnlyDictionaryView<TKey, TValue, TResult> ConvertValues<TKey, TValue, TResult>(this IReadOnlyDictionary<TKey, TValue> dictionary, ref ValueFunc mapper)
- public static ReadOnlyDictionaryView<TKey, TValue, TResult> ConvertValues<TKey, TValue, TResult>(this IReadOnlyDictionary<TKey, TValue> dictionary, Converter<TValue, TResult> mapper)
- public static void ForEach<TKey, TValue>(this IDictionary<TKey, TValue> dictionary, ref ValueAction action)
- public static void ForEach<TKey, TValue>(this IDictionary<TKey, TValue> dictionary, Action<TKey, TValue> action)
- public static TValue GetOrAdd<TKey, TValue>(this Dictionary<TKey, TValue> dictionary, TKey key)
- public static TValue GetOrAdd<TKey, TValue>(this Dictionary<TKey, TValue> dictionary, TKey key, TValue value)
- public static TValue GetOrAdd<TKey, TValue>(this Dictionary<TKey, TValue> dictionary, TKey key, ref ValueFunc valueFactory)
- public static TValue GetOrAdd<TKey, TValue>(this Dictionary<TKey, TValue> dictionary, TKey key, Func<TKey, TValue> valueFactory)
- public static TValue GetOrInvoke<TKey, TValue>(this IDictionary<TKey, TValue> dictionary, TKey key, ref ValueFunc defaultValue)
- public static TValue GetOrInvoke<TKey, TValue>(this IDictionary<TKey, TValue> dictionary, TKey key, Func<TValue> defaultValue)
- public static Func<TKey, TValue> IndexerGetter<TKey, TValue>(this IReadOnlyDictionary<TKey, TValue> dictionary)
- public static Func<TKey, TValue> IndexerGetter<TKey, TValue>(this IDictionary<TKey, TValue> dictionary)
- public static Action<TKey, TValue> IndexerSetter<TKey, TValue>(this IDictionary<TKey, TValue> dictionary)
- public static Optional<TValue> TryGetValue<TKey, TValue>(this IDictionary<TKey, TValue> dictionary, TKey key)
- public static Optional<TValue> TryGetValue<TKey, TValue>(IReadOnlyDictionary<TKey, TValue> dictionary, TKey key)
- public static Optional<TValue> TryRemove<TKey, TValue>(this IDictionary<TKey, TValue> dictionary, TKey key)
-
public static class List
- public static ReadOnlyListView<T> AsReadOnlyView<T>(this IList<T> list)
- public static ReadOnlyListView<I, O> Convert<I, O>(this IReadOnlyList<I> list, Converter<I, O> converter)
- public static ReadOnlyListView<TInput, TOutput> Convert<TInput, TOutput>(this IReadOnlyList<TInput> list, ref ValueFunc converter)
- public static ReadOnlyListView<TInput, TOutput> Convert<TInput, TOutput>(this IReadOnlyList<TInput> list, Converter<TInput, TOutput> converter)
- public static void Insert<T>(this IList<T> list, Index index, T item)
- public static int InsertOrdered<T>(this IList<T> list, T item, ref ValueFunc comparer)
- public static int InsertOrdered<T>(this IList<T> list, T item, Comparison<T> comparer)
- public static void RemoveAt<T>(this IList<T> list, Index index)
- public static void RemoveRange<T>(this List<T> list, Range range)
- public static O[] ToArray<I, O>(this IList<I> input, Converter<I, O> mapper)
- public static O[] ToArray<I, O>(this IList<I> input, Func<int, I, O> mapper)
- public static ListSegment<T> Slice<T>(this IList<T> list, Range range)
- public static TOutput[] ToArray<TInput, TOutput>(this IList<TInput> input, ref ValueFunc mapper)
- public static TOutput[] ToArray<TInput, TOutput>(this IList<TInput> input, Converter<TInput, TOutput> mapper)
- public static TOutput[] ToArray<TInput, TOutput>(this IList<TInput> input, ref ValueFunc mapper)
- public static TOutput[] ToArray<TInput, TOutput>(this IList<TInput> input, Func<int, TInput, TOutput> mapper)
-
public struct ReadOnlyCollectionView<T> : IReadOnlyCollection<T>, IEnumerable<T>, IEnumerable, IEquatable<ReadOnlyCollectionView<T>>
-
public struct ListSegment<T> : IList<T>, ICollection<T>, IEnumerable<T>, IEnumerable, IReadOnlyList<T>, IReadOnlyCollection<T>
-
public struct ReadOnlyCollectionView<TInput, TOutput> : IReadOnlyCollection<TOutput>, IEnumerable<TOutput>, IEnumerable, IEquatable<ReadOnlyCollectionView<TInput, TOutput>>
- public ReadOnlyCollectionView(IReadOnlyCollection<I> collection, Converter<I, O> mapper)
- public static bool op_Equality(ReadOnlyCollectionView<I, O> first, ReadOnlyCollectionView<I, O> second)
- public static bool op_Inequality(ReadOnlyCollectionView<I, O> first, ReadOnlyCollectionView<I, O> second)
- public bool Equals(ReadOnlyCollectionView<I, O> other)
- public IEnumerator<O> GetEnumerator()
- public ReadOnlyCollectionView(IReadOnlyCollection<TInput> collection, ref ValueFunc mapper)
- public static bool op_Equality(ReadOnlyCollectionView<TInput, TOutput> first, ReadOnlyCollectionView<TInput, TOutput> second)
- public static bool op_Inequality(ReadOnlyCollectionView<TInput, TOutput> first, ReadOnlyCollectionView<TInput, TOutput> second)
- public bool Equals(ReadOnlyCollectionView<TInput, TOutput> other)
- public IEnumerator<TOutput> GetEnumerator()
-
public struct ReadOnlyDictionaryView<K, V> : IReadOnlyDictionary<K, V>, IEnumerable<KeyValuePair<K, V>>, IEnumerable, IReadOnlyCollection<KeyValuePair<K, V>>, IEquatable<ReadOnlyDictionaryView<K, V>>
-
public struct ReadOnlyDictionaryView<TKey, TInput, TOutput> : IReadOnlyDictionary<TKey, TOutput>, IEnumerable<KeyValuePair<TKey, TOutput>>, IEnumerable, IReadOnlyCollection<KeyValuePair<TKey, TOutput>>, IEquatable<ReadOnlyDictionaryView<TKey, TInput, TOutput>>
- public O this[K key] { get; }
- public IEnumerable<K> Keys { get; }
- public IEnumerable<O> Values { get; }
- public ReadOnlyDictionaryView(IReadOnlyDictionary<K, I> dictionary, Converter<I, O> mapper)
- public static bool op_Equality(ReadOnlyDictionaryView<K, I, O> first, ReadOnlyDictionaryView<K, I, O> second)
- public static bool op_Inequality(ReadOnlyDictionaryView<K, I, O> first, ReadOnlyDictionaryView<K, I, O> second)
- public bool ContainsKey(K key)
- public bool Equals(ReadOnlyDictionaryView<K, I, O> other)
- public IEnumerator<KeyValuePair<K, O>> GetEnumerator()
- public bool TryGetValue(K key, out O value)
- public TOutput this[TKey key] { get; }
- public IEnumerable<TKey> Keys { get; }
- public IEnumerable<TOutput> Values { get; }
- public ReadOnlyDictionaryView(IReadOnlyDictionary<TKey, TInput> dictionary, ref ValueFunc mapper)
- public static bool op_Equality(ReadOnlyDictionaryView<TKey, TInput, TOutput> first, ReadOnlyDictionaryView<TKey, TInput, TOutput> second)
- public static bool op_Inequality(ReadOnlyDictionaryView<TKey, TInput, TOutput> first, ReadOnlyDictionaryView<TKey, TInput, TOutput> second)
- public bool ContainsKey(TKey key)
- public bool Equals(ReadOnlyDictionaryView<TKey, TInput, TOutput> other)
- public IEnumerator<KeyValuePair<TKey, TOutput>> GetEnumerator()
- public bool TryGetValue(TKey key, out TOutput value)
-
public struct ReadOnlyListView<T> : IReadOnlyList<T>, IEnumerable<T>, IEnumerable, IReadOnlyCollection<T>, IEquatable<ReadOnlyListView<T>>
-
public struct ReadOnlyListView<TInput, TOutput> : IReadOnlyList<TOutput>, IEnumerable<TOutput>, IEnumerable, IReadOnlyCollection<TOutput>, IEquatable<ReadOnlyListView<TInput, TOutput>>
- public O this[int index] { get; }
- public ReadOnlyListView(IReadOnlyList<I> list, Converter<I, O> mapper)
- public static bool op_Equality(ReadOnlyListView<I, O> first, ReadOnlyListView<I, O> second)
- public static bool op_Inequality(ReadOnlyListView<I, O> first, ReadOnlyListView<I, O> second)
- public bool Equals(ReadOnlyListView<I, O> other)
- public IEnumerator<O> GetEnumerator()
- public TOutput this[int index] { get; }
- public ReadOnlyListView(IReadOnlyList<TInput> list, ref ValueFunc mapper)
- public static bool op_Equality(ReadOnlyListView<TInput, TOutput> first, ReadOnlyListView<TInput, TOutput> second)
- public static bool op_Inequality(ReadOnlyListView<TInput, TOutput> first, ReadOnlyListView<TInput, TOutput> second)
- public bool Equals(ReadOnlyListView<TInput, TOutput> other)
- public IEnumerator<TOutput> GetEnumerator()
DotNext.Diagnostics
DotNext.Generic
DotNext.IO
DotNext.Net.NetworkInformation
DotNext.Reflection
DotNext.Runtime
-
public static class Intrinsics
- public static IntPtr AddressOf<T>(ref T value)
- public static bool AreSame<T>(ref T first, ref T second)
- public static ref T AsRef<T>(this TypedReference reference)
- 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 T Cast<T>(object obj)
- public static void ClearBits(Void* address, long length)
- public static int Compare(Void* first, Void* second, long length)
- public static void Copy<T>(ref T input, out T output) where T : struct
- public static void Copy<T>(T* input, T* output) where T : ValueType modreq(System.Runtime.InteropServices.UnmanagedType)
- public static void Copy<T>(ref T source, ref T destination, long count) where T : ValueType modreq(System.Runtime.InteropServices.UnmanagedType)
- public static void CopyUnaligned<T>(T* input, T* output) where T : ValueType modreq(System.Runtime.InteropServices.UnmanagedType)
- public static T DefaultOf<T>()
- public static bool Equals(Void* first, Void* second, long length)
- public static int GetHashCode32(Void* source, long length, int hash, Func<int, int, int> hashFunction, bool salted = true)
- public static int GetHashCode32(Void* source, long length, int hash, ref ValueFunc hashFunction, bool salted = true)
- public static int GetHashCode32(Void* source, long length, bool salted = true)
- public static long GetHashCode64(Void* source, long length, long hash, Func<long, long, long> hashFunction, bool salted = true)
- public static long GetHashCode64(Void* source, long length, long hash, ref ValueFunc hashFunction, bool salted = true)
- public static long GetHashCode64(Void* source, long length, bool salted = true)
- public static T& modreq(System.Runtime.InteropServices.InAttribute) GetReadonlyRef<T>(this T[] array, long index)
- public static TBase& modreq(System.Runtime.InteropServices.InAttribute) GetReadonlyRef<T, TBase>(this T[] array, long index) where T : TBase
- public static bool HasFlag<T>(T value, T flag) where T : struct, Enum
- public static bool IsDefault<T>(ref T value)
- public static bool IsExactTypeOf<T>(object obj)
- public static bool IsNull<T>(ref T value)
- public static bool IsNullable<T>()
- public static void Reverse<T>(ref T value) where T : ValueType modreq(System.Runtime.InteropServices.UnmanagedType)
- public static void Swap<T>(ref T first, ref T second)
- public static void Swap<T>(T* first, T* second) where T : ValueType modreq(System.Runtime.InteropServices.UnmanagedType)
- public static void ThrowIfNull<T>(ref T value)
- public static RuntimeTypeHandle TypeOf<T>()
DotNext.Runtime.CompilerServices
DotNext.Runtime.InteropServices
DotNext.Security.Cryptography
DotNext.Text
DotNext.Threading
-
public static class AsyncDelegate
- public static Task InvokeAsync<D>(this D delegate, Action<D> invoker, CancellationToken token = default) where D : MulticastDelegate
- public static Task InvokeAsync<E>(this EventHandler<E> handler, object sender, E 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 static AsyncDelegateFuture InvokeAsync<TDelegate>(this TDelegate delegate, Action<TDelegate> invoker, CancellationToken token = default) where TDelegate : MulticastDelegate
- public static AsyncDelegateFuture InvokeAsync<TEventArgs>(this EventHandler<TEventArgs> handler, object sender, TEventArgs args, CancellationToken token = default)
- public static AsyncDelegateFuture InvokeAsync(this EventHandler handler, object sender, EventArgs args, CancellationToken token = default)
- public static AsyncDelegateFuture InvokeAsync(this Action action, CancellationToken token = default)
- public static AsyncDelegateFuture InvokeAsync<T>(this Action<T> action, T arg, CancellationToken token = default)
- public static AsyncDelegateFuture InvokeAsync<T1, T2>(this Action<T1, T2> action, T1 arg1, T2 arg2, CancellationToken token = default)
- public static AsyncDelegateFuture InvokeAsync<T1, T2, T3>(this Action<T1, T2, T3> action, T1 arg1, T2 arg2, T3 arg3, CancellationToken token = default)
- public static AsyncDelegateFuture 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 AsyncDelegateFuture 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 AsyncDelegateFuture 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 AsyncDelegateFuture 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 AsyncDelegateFuture 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 AsyncDelegateFuture 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 AsyncDelegateFuture 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 struct Atomic<T> : IStrongBox, ICloneable where T : struct
- public sealed delegate Accumulator<T> : MulticastDelegate where T : struct
- public sealed delegate Updater<T> : MulticastDelegate where T : struct
- public T Value { get; set; }
- public void AccumulateAndGet(ref T x, Accumulator<T> accumulator, out T result)
- public Atomic<T> Clone()
- public bool CompareAndSet(ref T expected, ref T update)
- public bool CompareExchange(ref T update, ref T expected, out T result)
- public void Exchange(ref T update, out T previous)
- public void GetAndAccumulate(ref T x, Accumulator<T> accumulator, out T result)
- public void GetAndUpdate(Updater<T> updater, out T result)
- public void Read(out T result)
- public void Swap(ref Atomic other)
- public void Swap(ref T other)
- public void UpdateAndGet(Updater<T> updater, out T result)
- public void Write(ref T newValue)
-
public struct AtomicBoolean : IEquatable<bool>, ISerializable
-
public static class AtomicDouble
- public static double AccumulateAndGet(this ref double value, double x, ref ValueFunc accumulator)
- public static double AccumulateAndGet(this double[] array, long index, double x, ref ValueFunc accumulator)
- public static long CompareExchange(this long[] array, long index, long update, long comparand)
- public static double CompareExchange(this double[] array, long index, double update, double comparand)
- public static double GetAndAccumulate(this ref double value, double x, ref ValueFunc accumulator)
- public static double GetAndAccumulate(this double[] array, long index, double x, ref ValueFunc accumulator)
- public static double GetAndUpdate(this ref double value, ref ValueFunc updater)
- public static double GetAndUpdate(this double[] array, long index, ref ValueFunc updater)
- public static double UpdateAndGet(this ref double value, ref ValueFunc updater)
- public static double UpdateAndGet(this double[] array, long index, ref ValueFunc updater)
-
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>, ISerializable 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, ref ValueFunc 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, ref ValueFunc accumulator)
- public TEnum GetAndSet(TEnum update)
- public TEnum GetAndUpdate(Func<TEnum, TEnum> updater)
- public TEnum GetAndUpdate(ref ValueFunc updater)
- public TEnum SetAndGet(TEnum update)
- public TEnum UpdateAndGet(Func<TEnum, TEnum> updater)
- public TEnum UpdateAndGet(ref ValueFunc updater)
-
public static class AtomicInt32
- public static int AccumulateAndGet(this ref int value, int x, ref ValueFunc accumulator)
- public static int AccumulateAndGet(this int[] array, long index, int x, ref ValueFunc accumulator)
- public static int GetAndAccumulate(this ref int value, int x, ref ValueFunc accumulator)
- public static int GetAndAccumulate(this int[] array, long index, int x, ref ValueFunc accumulator)
- public static int GetAndUpdate(this ref int value, ref ValueFunc updater)
- public static int GetAndUpdate(this int[] array, long index, ref ValueFunc updater)
- public static int UpdateAndGet(this ref int value, ref ValueFunc updater)
- public static int UpdateAndGet(this int[] array, long index, ref ValueFunc updater)
-
public static class AtomicInt64
- public static long AccumulateAndGet(this ref long value, long x, ref ValueFunc accumulator)
- public static long AccumulateAndGet(this long[] array, long index, long x, ref ValueFunc accumulator)
- public static long GetAndAccumulate(this ref long value, long x, ref ValueFunc accumulator)
- public static long GetAndAccumulate(this long[] array, long index, long x, ref ValueFunc accumulator)
- public static long GetAndUpdate(this ref long value, ref ValueFunc updater)
- public static long GetAndUpdate(this long[] array, long index, ref ValueFunc updater)
- public static long UpdateAndGet(this ref long value, ref ValueFunc updater)
- public static long UpdateAndGet(this long[] array, long index, ref ValueFunc updater)
-
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, ref ValueFunc accumulator)
- 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, ref ValueFunc accumulator)
- public static IntPtr Add(this ref IntPtr value, IntPtr operand)
- public static bool CompareAndSet(this ref IntPtr value, IntPtr expected, IntPtr update)
- 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 ref IntPtr value)
- public static IntPtr DecrementAndGet(this IntPtr[] array, long index)
- 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, ref ValueFunc accumulator)
- 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, ref ValueFunc accumulator)
- public static IntPtr GetAndSet(this ref IntPtr value, IntPtr update)
- public static IntPtr GetAndSet(this IntPtr[] array, long index, IntPtr update)
- public static IntPtr GetAndUpdate(this ref IntPtr value, Func<IntPtr, IntPtr> updater)
- public static IntPtr GetAndUpdate(this ref IntPtr value, ref ValueFunc updater)
- public static IntPtr GetAndUpdate(this IntPtr[] array, long index, Func<IntPtr, IntPtr> updater)
- public static IntPtr GetAndUpdate(this IntPtr[] array, long index, ref ValueFunc updater)
- public static IntPtr IncrementAndGet(this ref IntPtr value)
- public static IntPtr IncrementAndGet(this IntPtr[] array, long index)
- public static IntPtr SetAndGet(this ref IntPtr value, IntPtr update)
- public static IntPtr SetAndGet(this IntPtr[] array, long index, IntPtr update)
- public static IntPtr UpdateAndGet(this ref IntPtr value, Func<IntPtr, IntPtr> updater)
- public static IntPtr UpdateAndGet(this ref IntPtr value, ref ValueFunc updater)
- public static IntPtr UpdateAndGet(this IntPtr[] array, long index, Func<IntPtr, IntPtr> updater)
- public static IntPtr UpdateAndGet(this IntPtr[] array, long index, ref ValueFunc updater)
- public static IntPtr VolatileRead(this ref IntPtr value)
- public static IntPtr VolatileRead(this IntPtr[] array, long index)
- public static void VolatileWrite(this ref IntPtr value, IntPtr newValue)
- public static void VolatileWrite(this IntPtr[] array, long index, IntPtr value)
-
public static class AtomicReference
- public static T AccumulateAndGet<T>(ref T value, T x, ref ValueFunc accumulator)
- public static T AccumulateAndGet<T>(this T[] array, long index, T x, ref ValueFunc accumulator)
- public static T GetAndAccumulate<T>(ref T value, T x, ref ValueFunc accumulator)
- public static T GetAndAccumulate<T>(this T[] array, long index, T x, ref ValueFunc accumulator)
- public static T GetAndUpdate<T>(ref T value, ref ValueFunc updater)
- public static T GetAndUpdate<T>(this T[] array, long index, ref ValueFunc updater)
- public static T UpdateAndGet<T>(ref T value, ref ValueFunc updater)
- public static T UpdateAndGet<T>(this T[] array, long index, ref ValueFunc updater)
-
public struct AtomicReference<T> : IEquatable<T>, ISerializable
-
public static class AtomicSingle
- public static float AccumulateAndGet(this ref float value, float x, ref ValueFunc accumulator)
- public static float AccumulateAndGet(this float[] array, long index, float x, ref ValueFunc accumulator)
- public static float GetAndAccumulate(this ref float value, float x, ref ValueFunc accumulator)
- public static float GetAndAccumulate(this float[] array, long index, float x, ref ValueFunc accumulator)
- public static float GetAndUpdate(this ref float value, ref ValueFunc updater)
- public static float GetAndUpdate(this float[] array, long index, ref ValueFunc updater)
- public static float UpdateAndGet(this ref float value, ref ValueFunc updater)
- public static float UpdateAndGet(this float[] array, long index, ref ValueFunc updater)
-
public static class LockAcquisition
-
public struct ReaderWriterSpinLock
-
public struct Timeout
DotNext.Threading.Tasks
-
public static class Continuation
-
public static class Conversion
- public static Task<O> Convert<I, O>(this Task<I> task, Converter<I, O> converter)
- public static Task<O> Convert<I, O>(this Task<I> task, Converter<I, Task<O>> converter)
- public static DynamicTaskAwaitable AsDynamic(this Task task)
- public static Task<TOutput> Convert<TInput, TOutput>(this Task<TInput> task) where TInput : TOutput
- public static Task<TOutput> Convert<TInput, TOutput>(this Task<TInput> task, Converter<TInput, TOutput> converter)
- public static Task<TOutput> Convert<TInput, TOutput>(this Task<TInput> task, Converter<TInput, Task<TOutput>> converter)
- public static Task<T?> ToNullable<T>(this Task<T> task) where T : struct
-
public struct DynamicTaskAwaitable
-
public abstract class Future : IFuture, INotifyCompletion
-
public abstract class Future<T> : Future, IConvertible<T> where T : Task
- protected Future(bool runContinuationsAsynchronously = true)
- public abstract T AsTask()
-
public interface IFuture : INotifyCompletion
-
public static class Synchronization
DotNext.VariantType
-
public interface IVariant : IDynamicMetaObjectProvider
-
public struct Variant<T1, T2> : IEquatable<Variant<T1, T2>>, IVariant, IDynamicMetaObjectProvider
- public bool IsPresent { get; }
- public bool IsNull { get; }
- public Optional<R> Convert<R>(Converter<T1, R> mapper1, Converter<T2, R> mapper2)
- public Variant<U1, U2> Convert<U1, U2>(Converter<T1, U1> mapper1, Converter<T2, U2> mapper2)
- public bool Equals<V>(V other) where V : IVariant
- public Optional<TResult> Convert<TResult>(ref ValueFunc mapper1, ref ValueFunc mapper2)
- public Optional<TResult> Convert<TResult>(Converter<T1, TResult> mapper1, Converter<T2, TResult> mapper2)
- public Variant<TResult1, TResult2> Convert<TResult1, TResult2>(ref ValueFunc mapper1, ref ValueFunc mapper2)
- public Variant<TResult1, TResult2> Convert<TResult1, TResult2>(Converter<T1, TResult1> mapper1, Converter<T2, TResult2> mapper2)
- public void Deconstruct(out T1 value1, out T2 value2)
- public bool Equals<TOther>(TOther other) where TOther : IVariant
-
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>>