- CollectionFormat
- EnumerableOptimal
- IL
- Ctor <R> ()
- Ctor <A, R> ()
- Ctor <A, B, R> ()
- Ctor <A, B, C, R> ()
- Ctor <A, B, C, D, R> ()
- Func1 <TYPE, R> (Type arg1, Func<MethodInfo, bool> methodPred = null)
- Func1 <TYPE, A, R> (Func<MethodInfo, bool> methodPred = null)
- Func2 <TYPE, A, B, R> (Func<MethodInfo, bool> methodPred = null)
- Func3 <TYPE, A, B, C, R> (Func<MethodInfo, bool> methodPred = null)
- Func4 <TYPE, A, B, C, D, R> (Func<MethodInfo, bool> methodPred = null)
- GetHashCode <A> (bool includeBase)
- Equals <A> (bool includeBase)
- EqualsTyped <A> (bool includeBase)
- Compare <A> (bool includeBase)
- ToString <A> (bool includeBase)
- GetObjectData <A> (bool includeBase)
- SetObjectData <A> (bool includeBase)
- GetPropertyOrField <A, B> (string name)
- GetProperty <A, B> (string name)
- GetField <A, B> (string name)
- ILCapability
- SysInfo
- TrampolineF <A>
- TrampolineContinueF <A>
- TrampolineCompleteF <A> (A Result)
- TrampolineF <A, B>
- TrampolineContinueF <A, B> (A Arg1)
- TrampolineCompleteF <A, B> (B Result)
- TrampolineF <A, B, C>
- TrampolineContinueF <A, B, C> (A Arg1, B Arg2)
- TrampolineCompleteF <A, B, C> (C Result)
- TrampolineF <A, B, C, D>
- TrampolineContinueF <A, B, C, D> (A Arg1, B Arg2, C Arg3)
- TrampolineCompleteF <A, B, C, D> (D Result)
- Trampoline
- Continue <A> ()
- Continue <A, B> (A arg1)
- Continue <A, B, C> (A arg1, B arg2)
- Continue <A, B, C, D> (A arg1, B arg2, C arg3)
- Complete <A> (A result)
- Complete <A, B> (B result)
- Complete <A, B, C> (C result)
- Complete <A, B, C, D> (D result)
- Start <A> (Func<TrampolineF<A>> f)
- StartAsync <A> (Func<ValueTask<TrampolineF<A>>> f)
- Start <A, B> (Func<A, TrampolineF<A, B>> f, A arg1)
- StartAsync <A, B> (Func<A, ValueTask<TrampolineF<A, B>>> f, A arg1)
- Start <A, B, C> (Func<A, B, TrampolineF<A, B, C>> f, A arg1, B arg2)
- StartAsync <A, B, C> (Func<A, B, ValueTask<TrampolineF<A, B, C>>> f, A arg1, B arg2)
- Start <A, B, C, D> (Func<A, B, C, TrampolineF<A, B, C, D>> f, A arg1, B arg2, C arg3)
- StartAsync <A, B, C, D> ( Func<A, B, C, ValueTask<TrampolineF<A, B, C, D>>> f, A arg1, B arg2, C arg3)
Sub modules
ExceptionMatch |
class CollectionFormat Source #
field int MaxShortItems = 50 Source #
Application wide setting for the maximum number of items
shown in a call to the ToString
method of any LanguageExt
collection type.
class EnumerableOptimal Source #
method IEnumerable<A> ConcatFast <A> (this IEnumerable<A> ma, IEnumerable<A> mb) Source #
method Func<R> Ctor <R> () Source #
Emits the IL to instantiate a type of R with a single argument to the constructor
method Func<A, R> Ctor <A, R> () Source #
Emits the IL to instantiate a type of R with a single argument to the constructor
method Func<A, B, R> Ctor <A, B, R> () Source #
Emits the IL to instantiate a type of R with two arguments to the constructor
method Func<A, B, C, R> Ctor <A, B, C, R> () Source #
Emits the IL to instantiate a type of R with three arguments to the constructor
method Func<A, B, C, D, R> Ctor <A, B, C, D, R> () Source #
Emits the IL to instantiate a type of R with four arguments to the constructor
method Option<Func<object, R>> Func1 <TYPE, R> (Type arg1, Func<MethodInfo, bool> methodPred = null) Source #
Emits the IL to invoke a static method
method Option<Func<A, R>> Func1 <TYPE, A, R> (Func<MethodInfo, bool> methodPred = null) Source #
Emits the IL to invoke a static method with one argument
method Option<Func<A, B, R>> Func2 <TYPE, A, B, R> (Func<MethodInfo, bool> methodPred = null) Source #
Emits the IL to invoke a static method with two arguments
method Option<Func<A, B, C, R>> Func3 <TYPE, A, B, C, R> (Func<MethodInfo, bool> methodPred = null) Source #
Emits the IL to invoke a static method with three arguments
method Option<Func<A, B, C, D, R>> Func4 <TYPE, A, B, C, D, R> (Func<MethodInfo, bool> methodPred = null) Source #
Emits the IL to invoke a static method with four arguments
method Func<A, int> GetHashCode <A> (bool includeBase) Source #
Builds a function to provide a hash-code for a record type. the hash-code is built from the hash-codes of all the fields that make up the type.
You should cache the result of this method to reduce the work of building the IL
each time. Better still use the RecordType<A>
type to provide a cached version of these
results.
method Func<A, object, bool> Equals <A> (bool includeBase) Source #
Provides a function that compares two record type arguments (one of type A and one of
object) for structural equality, this first makes sure that the Object
argument is of
type A and then compares the fields from each argument for equality and returns true if
all are equal.
You should cache the result of this method to reduce the work of building the IL
each time. Better still use the RecordType<A>
type to provide a cached version of these
results.
method Func<A, A, bool> EqualsTyped <A> (bool includeBase) Source #
Provides a function that compares two record type arguments for structural equality, this first compares the fields from each argument for equality and returns true if all are equal.
You should cache the result of this method to reduce the work of building the IL
each time. Better still use the RecordType<A>
type to provide a cached version of these
results.
method Func<A, A, int> Compare <A> (bool includeBase) Source #
Provides a function that compares two record type arguments for structural equality, this compares the fields from each argument for equality and returns 0 if all are equal, -1 if X is less than Y, and 1 if X is greater than Y.
You should cache the result of this method to reduce the work of building the IL
each time. Better still use the RecordType<A>
type to provide a cached version of these
results.
method Action<A, SerializationInfo> GetObjectData <A> (bool includeBase) Source #
method Action<A, SerializationInfo> SetObjectData <A> (bool includeBase) Source #
method Func<A, B> GetPropertyOrField <A, B> (string name) Source #
method Func<A, B> GetProperty <A, B> (string name) Source #
System information helper
property int ProcessorCount Source #
Cached number of processors in the machine
property int DefaultAsyncSequenceParallelism Source #
When working with an IEnumerable of Tasks or Seq of Tasks, this setting is used as the default number of task items streamed at any one time. This reduces pressure on the system when working with large lazy streams of tasks.
Each method that uses it has an override that allows for per-usage settings.
The default value is max(1, Environment.ProcessorCount / 2)
record TrampolineF <A> Source #
Two argument trampoline
record TrampolineContinueF <A> Source #
Two argument trampoline continue
record TrampolineCompleteF <A> (A Result) Source #
Two argument trampoline complete
record TrampolineF <A, B> Source #
Two argument trampoline
record TrampolineContinueF <A, B> (A Arg1) Source #
Two argument trampoline continue
record TrampolineCompleteF <A, B> (B Result) Source #
Two argument trampoline complete
record TrampolineF <A, B, C> Source #
Two argument trampoline
record TrampolineContinueF <A, B, C> (A Arg1, B Arg2) Source #
Two argument trampoline continue
record TrampolineCompleteF <A, B, C> (C Result) Source #
Two argument trampoline complete
record TrampolineF <A, B, C, D> Source #
Two argument trampoline
record TrampolineContinueF <A, B, C, D> (A Arg1, B Arg2, C Arg3) Source #
Two argument trampoline continue
record TrampolineCompleteF <A, B, C, D> (D Result) Source #
Two argument trampoline complete
class Trampoline Source #
method ValueTask<A> StartAsync <A> (Func<ValueTask<TrampolineF<A>>> f) Source #
method ValueTask<B> StartAsync <A, B> (Func<A, ValueTask<TrampolineF<A, B>>> f, A arg1) Source #
method ValueTask<C> StartAsync <A, B, C> (Func<A, B, ValueTask<TrampolineF<A, B, C>>> f, A arg1, B arg2) Source #
method D Start <A, B, C, D> (Func<A, B, C, TrampolineF<A, B, C, D>> f, A arg1, B arg2, C arg3) Source #
method ValueTask<D> StartAsync <A, B, C, D> ( Func<A, B, C, ValueTask<TrampolineF<A, B, C, D>>> f, A arg1, B arg2, C arg3) Source #