Kerbal Space Program
1.12.4
|
Static Public Member Functions | |
static Option< IComparer< T > > | Comparer< T > () |
Returns an option containing a sort order comparer for type T, or None if no comparer can be created. More... | |
static Option < IEqualityComparer< T > > | EqualityComparer< T > () |
Returns an option containing an equality comparer for type T, or None if no comparer can be created. More... | |
static Option< Expression > | EqualsExpression (Expression l, Expression r) |
Returns an option containing an expression that compares l and r for equality without casting, or None if no such comparison can be found. More... | |
static Smooth.Algebraics.Tuple < Expression, MethodInfo > | ExistingComparer (Type type) |
Returns a tuple containing: an Expression for the default comparer for the specified type, and a MethodInfo for the comparer's Compare(T, T) method. More... | |
static Smooth.Algebraics.Tuple < Expression, MethodInfo > | ExistingComparer< T > () |
Returns a tuple containing: an Expression for the default sort order comparer for type T, and a MethodInfo for the comparer's Compare(T, T) method. More... | |
static Smooth.Algebraics.Tuple < Expression, MethodInfo, MethodInfo > | ExistingEqualityComparer (Type type) |
Returns a tuple containing: an expression for the default equality comparer for the specified type, and a MethodInfo for the comparer's Equals(T, T) method, and a MethodInfo for the comparer's GetHashCode(T) method. More... | |
static Smooth.Algebraics.Tuple < Expression, MethodInfo, MethodInfo > | ExistingEqualityComparer< T > () |
Returns a tuple containing: an expression for the default equality comparer for type T, and a MethodInfo for the comparer's Equals(T, T) method, and a MethodInfo for the comparer's GetHashCode(T) method. More... | |
|
inlinestatic |
Returns an option containing a sort order comparer for type T, or None if no comparer can be created.
This method will create comparers for the following types:
System.Collections.KeyValuePair<,>.
|
inlinestatic |
Returns an option containing an equality comparer for type T, or None if no comparer can be created.
This method will create comparers for the following types:
Enumerations, System.Collections.KeyValuePair<,>s, Value types T with a public T.Equals(T) method or ==(T,T) operator.
|
inlinestatic |
Returns an option containing an expression that compares l and r for equality without casting, or None if no such comparison can be found.
|
inlinestatic |
Returns a tuple containing: an Expression for the default comparer for the specified type, and a MethodInfo for the comparer's Compare(T, T) method.
|
inlinestatic |
Returns a tuple containing: an Expression for the default sort order comparer for type T, and a MethodInfo for the comparer's Compare(T, T) method.
|
inlinestatic |
Returns a tuple containing: an expression for the default equality comparer for the specified type, and a MethodInfo for the comparer's Equals(T, T) method, and a MethodInfo for the comparer's GetHashCode(T) method.
|
inlinestatic |
Returns a tuple containing: an expression for the default equality comparer for type T, and a MethodInfo for the comparer's Equals(T, T) method, and a MethodInfo for the comparer's GetHashCode(T) method.