AlgorithmsGetComparisonFromComparerT Method |
Given in IComparer<T> instenace that comparers two items from type T,
gets a Comparison delegate that performs the same comparison.
Namespace: X3Platform.CollectionsAssembly: X3Platform.Support (in X3Platform.Support.dll) Version: 1.0.0.0 (2.0.0.0)
Syntaxpublic static Comparison<T> GetComparisonFromComparer<T>(
IComparer<T> comparer
)
public:
generic<typename T>
static Comparison<T>^ GetComparisonFromComparer(
IComparer<T>^ comparer
)
Parameters
- comparer
- Type: System.Collections.GenericIComparerT
The IComparer<T> instance to use.
Type Parameters
- T
[Missing <typeparam name="T"/> documentation for "M:X3Platform.Collections.Algorithms.GetComparisonFromComparer``1(System.Collections.Generic.IComparer{``0})"]
Return Value
Type:
ComparisonTA Comparison<T> delegate that performans the same comparing
operation as
comparer.
See Also