Click or drag to resize

XComparerFromComparisonT Method

Namespace:  Linq.Extras
Assembly:  Linq.Extras (in Linq.Extras.dll) Version: 5.0.0+96a4f4bfed64095342c5df107c1fe1fb95603ee5
Syntax
public static IComparer<T> FromComparison<T>(
	Comparison<T> comparison
)

Parameters

comparison
Type: SystemComparisonT
The ComparisonT delegate used to compare objects.

Type Parameters

T
The type of the objects to compare.

Return Value

Type: IComparerT
A comparer that uses the specified ComparisonT delegate to compare objects.
See Also