GeneralUtilsGetUsableComparisonT Method |
Gets a usable comparison for the comparer passed in.
Namespace: SD.Tools.Algorithmia.UtilityClassesAssembly: SD.Tools.Algorithmia (in SD.Tools.Algorithmia.dll) Version: 1.2.0.0 (1.2.14.1118)
Syntax public static Comparison<T> GetUsableComparison<T>(
IComparer<T> comparer
)
Public Shared Function GetUsableComparison(Of T) (
comparer As IComparer(Of T)
) As Comparison(Of T)
Parameters
- comparer
- Type: System.Collections.GenericIComparerT
The comparer.
Type Parameters
- T
- the type comparer works on
Return Value
Type:
ComparisonT
usable comparison
See Also