Click or drag to resize
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.Collections
Assembly: X3Platform.Support (in X3Platform.Support.dll) Version: 1.0.0.0 (2.0.0.0)
Syntax
public static Comparison<T> GetComparisonFromComparer<T>(
	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: ComparisonT
A Comparison<T> delegate that performans the same comparing operation as comparer.
See Also