API Diff between 1.2.4 and 0.11.0
531 Additions
34 Removals
DotNext
-
public sealed class BitwiseComparer<T> : IEqualityComparer<T>, IComparer<T> where T : struct
- public BitwiseComparer<T> Instance { get; }
- public static int Compare<G>(T first, G second) where G : struct
- public static bool Equals<G>(T first, G second) where G : struct
- public static int GetHashCode(T value, bool salted = true)
- public static int GetHashCode(T value, int hash, Func<int, int, int> hashFunction, bool salted = true)
- public static int GetHashCode(T value, int hash, ref ValueFunc hashFunction, bool salted = true)
-
public static class Comparison
-
public static class Converter
-
public static class DelegateHelpers
- public static Action Bind<T>(this Action<T> action, T obj)
- public static Func<R> Bind<T, R>(this Func<T, R> func, T obj)
- public static Func<T2, R> Bind<T1, T2, R>(this Func<T1, T2, R> func, T1 obj)
- public static Action<T2> Bind<T1, T2>(this Action<T1, T2> action, T1 obj)
- public static Func<T2, T3, R> Bind<T1, T2, T3, R>(this Func<T1, T2, T3, R> 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, R> Bind<T1, T2, T3, T4, R>(this Func<T1, T2, T3, T4, R> 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, R> Bind<T1, T2, T3, T4, T5, R>(this Func<T1, T2, T3, T4, T5, R> 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 Action<T> Unbind<T>(this Action action)
- public static Func<T, R> Unbind<T, R>(this Func<R> func)
- public static Func<G, T, R> Unbind<G, T, R>(this Func<T, R> func)
- public static Action<G, T> Unbind<G, T>(this Action<T> action)
- public static Func<G, T1, T2, R> Unbind<G, T1, T2, R>(this Func<T1, T2, R> func)
- public static Action<G, T1, T2> Unbind<G, T1, T2>(this Action<T1, T2> action)
- public static Func<G, T1, T2, T3, R> Unbind<G, T1, T2, T3, R>(this Func<T1, T2, T3, R> func)
- public static Action<G, T1, T2, T3> Unbind<G, T1, T2, T3>(this Action<T1, T2, T3> action)
- public static Func<G, T1, T2, T3, T4, R> Unbind<G, T1, T2, T3, T4, R>(this Func<T1, T2, T3, T4, R> func)
- public static Action<G, T1, T2, T3, T4> Unbind<G, T1, T2, T3, T4>(this Action<T1, T2, T3, T4> action)
- public static Func<G, T1, T2, T3, T4, T5, R> Unbind<G, T1, T2, T3, T4, T5, R>(this Func<T1, T2, T3, T4, T5, R> func)
- public static Action<G, T1, T2, T3, T4, T5> Unbind<G, T1, T2, T3, T4, T5>(this Action<T1, T2, T3, T4, T5> action)
-
public struct Enum<E> : IEquatable<E>, IComparable<E>, IFormattable, IEquatable<Enum<E>>, ISerializable where E : struct, Enum
-
public sealed delegate ItemAction<I, V> : MulticastDelegate
-
public interface ICallable
-
public interface ICallable<D> : ICallable where D : Delegate
-
public static class ObjectExtensions
- public static void Decompose<T, R1, R2>(this T obj, ref ValueFunc decomposer1, ref ValueFunc decomposer2, out R1 result1, out R2 result2)
- public static ValueTuple<R1, R2> Decompose<T, R1, R2>(this T obj, ref ValueFunc decomposer1, ref ValueFunc decomposer2)
- public static T? TryUnbox<T>(this object boxed) where T : struct
-
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 void ForEach<T>(this T[] array, ItemAction<long, T> action)
- 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 bool SequenceEqual<T>(this T[] first, T[] second) where T : IEquatable<T>
-
public struct Optional<T> : IEquatable<Optional<T>>, IEquatable<T>, IStructuralEquatable, ISerializable
-
public static class Predicate
-
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 static class Span
- 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 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 void Sort<T>(this Span<T> span, ref ValueFunc comparison)
- public static void Sort<T>(this Span<T> span, Comparison<T> comparison)
- 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 class StringExtensions
-
public struct UserDataStorage
-
public sealed class ValueType<T> : StrongBox<T> where T : struct
-
public struct ValueAction : ICallable<Action>, ICallable, IEquatable<ValueAction>
-
public struct ValueAction<T> : ICallable<Action<T>>, ICallable, IEquatable<ValueAction<T>>, IConsumer<T>
-
public struct ValueAction<T1, T2> : ICallable<Action<T1, T2>>, ICallable, IEquatable<ValueAction<T1, T2>>
-
public struct ValueAction<T1, T2, T3> : ICallable<Action<T1, T2, T3>>, ICallable, 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> : ICallable<Action<T1, T2, T3, T4>>, ICallable, 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> : ICallable<Action<T1, T2, T3, T4, T5>>, ICallable, 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<R> : ICallable<Func<R>>, ICallable, IEquatable<ValueFunc<R>>, ISupplier<R>
-
public struct ValueFunc<T, R> : ICallable<Func<T, R>>, ICallable, ICallable<Converter<T, R>>, IEquatable<ValueFunc<T, R>>
-
public struct ValueFunc<T1, T2, R> : ICallable<Func<T1, T2, R>>, ICallable, IEquatable<ValueFunc<T1, T2, R>>, ISupplier<T1, T2, R>
- public bool IsEmpty { get; }
- public object Target { get; }
- public ValueFunc(MethodInfo method)
- public ValueFunc(Func<T1, T2, R> 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, R> op_Explicit(ref ValueFunc pointer)
- public static bool op_Inequality(ref ValueFunc first, ref ValueFunc second)
- public bool Equals(ValueFunc<T1, T2, R> other)
- public R Invoke(T1 arg1, T2 arg2)
- public Func<T1, T2, R> ToDelegate()
-
public struct ValueFunc<T1, T2, T3, R> : ICallable<Func<T1, T2, T3, R>>, ICallable, IEquatable<ValueFunc<T1, T2, T3, R>>
- public bool IsEmpty { get; }
- public object Target { get; }
- public ValueFunc(MethodInfo method)
- public ValueFunc(Func<T1, T2, T3, R> 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, R> op_Explicit(ref ValueFunc pointer)
- public static bool op_Inequality(ref ValueFunc first, ref ValueFunc second)
- public bool Equals(ValueFunc<T1, T2, T3, R> other)
- public R Invoke(T1 arg1, T2 arg2, T3 arg3)
- public Func<T1, T2, T3, R> ToDelegate()
-
public struct ValueFunc<T1, T2, T3, T4, R> : ICallable<Func<T1, T2, T3, T4, R>>, ICallable, IEquatable<ValueFunc<T1, T2, T3, T4, R>>
- public bool IsEmpty { get; }
- public object Target { get; }
- public ValueFunc(MethodInfo method)
- public ValueFunc(Func<T1, T2, T3, T4, R> 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, R> op_Explicit(ref ValueFunc pointer)
- public static bool op_Inequality(ref ValueFunc first, ref ValueFunc second)
- public bool Equals(ValueFunc<T1, T2, T3, T4, R> other)
- public R Invoke(T1 arg1, T2 arg2, T3 arg3, T4 arg4)
- public Func<T1, T2, T3, T4, R> ToDelegate()
-
public struct ValueFunc<T1, T2, T3, T4, T5, R> : ICallable<Func<T1, T2, T3, T4, T5, R>>, ICallable, IEquatable<ValueFunc<T1, T2, T3, T4, T5, R>>
- public bool IsEmpty { get; }
- public object Target { get; }
- public ValueFunc(MethodInfo method)
- public ValueFunc(Func<T1, T2, T3, T4, T5, R> 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, R> 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, R> other)
- public R Invoke(T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5)
- public Func<T1, T2, T3, T4, T5, R> ToDelegate()
-
public struct ValueRefAction<T, TArgs> : ICallable<RefAction<T, TArgs>>, ICallable, IEquatable<ValueRefAction<T, TArgs>>
-
public struct ValueRefFunc<T, TArgs, TResult> : ICallable<RefFunc<T, TArgs, TResult>>, ICallable, 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 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 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 int ToInt32(this bool value)
- public static IntPtr ToIntPtr(this UIntPtr value)
- public static UIntPtr ToUIntPtr(this IntPtr value)
- public static bool TryGet<T>(this ref Nullable 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
DotNext.Collections.Concurrent
DotNext.Collections.Generic
-
public static class Collection
-
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 ReadOnlyDictionaryView<K, V, T> ConvertValues<K, V, T>(this IReadOnlyDictionary<K, V> dictionary, ref ValueFunc mapper)
- public static ReadOnlyDictionaryView<K, V, T> ConvertValues<K, V, T>(this IReadOnlyDictionary<K, V> dictionary, Converter<V, T> mapper)
- public static void ForEach<K, V>(this IDictionary<K, V> dictionary, ref ValueAction action)
- public static V GetOrAdd<K, V>(this Dictionary<K, V> dictionary, K key)
- public static V GetOrAdd<K, V>(this Dictionary<K, V> dictionary, K key, ref ValueFunc valueFactory)
- public static V GetOrInvoke<K, V>(this IDictionary<K, V> dictionary, K key, ref ValueFunc defaultValue)
- public static Optional<V> TryGetValue<K, V>(this IDictionary<K, V> dictionary, K key)
- public static Optional<V> TryGetValue<K, V>(IReadOnlyDictionary<K, V> dictionary, K key)
- public static Optional<V> TryRemove<K, V>(this IDictionary<K, V> dictionary, K 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, ref ValueFunc converter)
- 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 O[] ToArray<I, O>(this IList<I> input, ref ValueFunc mapper)
- public static O[] ToArray<I, O>(this IList<I> input, ref ValueFunc mapper)
-
public struct ReadOnlyCollectionView<T> : IReadOnlyCollection<T>, IEnumerable<T>, IEnumerable, IEquatable<ReadOnlyCollectionView<T>>
-
public struct ReadOnlyCollectionView<I, O> : IReadOnlyCollection<O>, IEnumerable<O>, IEnumerable, IEquatable<ReadOnlyCollectionView<I, O>>
-
public struct ReadOnlyDictionaryView<K, V> : IReadOnlyDictionary<K, V>, IEnumerable<KeyValuePair<K, V>>, IEnumerable, IReadOnlyCollection<KeyValuePair<K, V>>, IEquatable<ReadOnlyDictionaryView<K, V>>
-
public struct ReadOnlyDictionaryView<K, I, O> : IReadOnlyDictionary<K, O>, IEnumerable<KeyValuePair<K, O>>, IEnumerable, IReadOnlyCollection<KeyValuePair<K, O>>, IEquatable<ReadOnlyDictionaryView<K, I, O>>
-
public struct ReadOnlyListView<T> : IReadOnlyList<T>, IEnumerable<T>, IEnumerable, IReadOnlyCollection<T>, IEquatable<ReadOnlyListView<T>>
-
public struct ReadOnlyListView<I, O> : IReadOnlyList<O>, IEnumerable<O>, IEnumerable, IReadOnlyCollection<O>, IEquatable<ReadOnlyListView<I, O>>
DotNext.Diagnostics
DotNext.IO
-
public static class StreamExtensions
- public static long CopyTo(this Stream source, Stream destination, byte[] buffer, CancellationToken token = default)
- public static Task<long> CopyToAsync(this Stream source, Stream destination, byte[] buffer, CancellationToken token = default)
- public static T Read<T>(this Stream stream, byte[] buffer) where T : ValueType modreq(System.Runtime.InteropServices.UnmanagedType)
- public static Task<T> ReadAsync<T>(this Stream stream, byte[] buffer, CancellationToken token = default) where T : ValueType modreq(System.Runtime.InteropServices.UnmanagedType)
- public static ReadOnlySpan<byte> ReadBytes(this Stream stream, int count, byte[] buffer)
- public static Task<ReadOnlyMemory<byte>> ReadBytesAsync(this Stream stream, int count, byte[] buffer, CancellationToken token = default)
- public static string ReadString(this Stream stream, int length, DecodingContext context, byte[] buffer)
- public static Task<string> ReadStringAsync(this Stream stream, int length, DecodingContext context, byte[] buffer, CancellationToken token = default)
- public static void Write<T>(this Stream stream, ref T value, byte[] buffer) where T : ValueType modreq(System.Runtime.InteropServices.UnmanagedType)
- public static Task WriteAsync<T>(this Stream stream, ref T value, byte[] buffer, CancellationToken token = default) where T : ValueType modreq(System.Runtime.InteropServices.UnmanagedType)
- public static void WriteString(this Stream stream, string value, EncodingContext context, byte[] buffer)
- public static Task WriteStringAsync(this Stream stream, string value, EncodingContext context, byte[] buffer, CancellationToken token = default)
-
public sealed class StreamSegment : Stream
DotNext.Reflection
DotNext.Runtime
DotNext.Runtime.CompilerServices
DotNext.Runtime.InteropServices
-
public static class Memory
- public static readonly Void* NullPtr
- public static ref T AsRef<T>(this TypedReference reference)
- public static Span<byte> AsSpan<T>(T* pointer) where T : ValueType modreq(System.Runtime.InteropServices.UnmanagedType)
- public static void Copy<T>(ref T source, ref T destination, uint count) where T : ValueType modreq(System.Runtime.InteropServices.UnmanagedType)
- 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 int GetHashCode32(IntPtr source, long length, int hash, ref ValueFunc hashFunction, bool salted = true)
- public static int GetHashCode32(Void* source, long length, int hash, ref ValueFunc hashFunction, bool salted = true)
- public static long GetHashCode64(IntPtr source, long length, long hash, ref ValueFunc hashFunction, bool salted = true)
- public static long GetHashCode64(Void* source, long length, long hash, ref ValueFunc hashFunction, bool salted = true)
- public static T& modreq(System.Runtime.InteropServices.InAttribute) GetReadonlyRef<T>(this T[] array, long index)
- public static bool IsNull<T>(ref T value)
- public static string ReadString(ref IntPtr source)
- public static void ThrowIfNull<T>(ref T value)
- public static T* ToPointer<T>(this UIntPtr source) where T : ValueType modreq(System.Runtime.InteropServices.UnmanagedType)
- public static void WriteString(ref IntPtr destination, ReadOnlySpan<char> str)
- public static void WriteString(ref IntPtr destination, string str)
DotNext.Text
DotNext.Threading
-
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 void 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 struct AtomicEnum<E> : IEquatable<E>, ISerializable where E : struct, Enum
-
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, ref ValueFunc 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 IntPtr GetAndAccumulate(this ref IntPtr value, IntPtr x, ref ValueFunc accumulator)
- public static IntPtr GetAndAccumulate(this IntPtr[] array, long index, IntPtr x, ref ValueFunc accumulator)
- public static IntPtr GetAndUpdate(this ref IntPtr value, ref ValueFunc updater)
- public static IntPtr GetAndUpdate(this IntPtr[] array, long index, ref ValueFunc updater)
- public static IntPtr UpdateAndGet(this ref IntPtr value, ref ValueFunc updater)
- public static IntPtr UpdateAndGet(this IntPtr[] array, long index, ref ValueFunc updater)
-
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 struct ReaderWriterSpinLock
-
public struct Timeout
DotNext.Threading.Tasks
DotNext.VariantType
-
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 void Deconstruct(out T1 value1, out T2 value2, out T3 value3)
-
public struct Variant<T1, T2, T3, T4> : IVariant, IDynamicMetaObjectProvider, IEquatable<Variant<T1, T2, T3, T4>>
- public void Deconstruct(out T1 value1, out T2 value2, out T3 value3, out T4 value4)