 | ComparisonComparerTCreateComparison Method |
Creates a Comparison delegate from the given Comparer.
Namespace:
Koden.Utils
Assembly:
Koden.Utils (in Koden.Utils.dll) Version: 1.1.6453.26060
Syntaxpublic static Comparison<T> CreateComparison(
IComparer<T> comparer
)
Public Shared Function CreateComparison (
comparer As IComparer(Of T)
) As Comparison(Of T)
public:
static Comparison<T>^ CreateComparison(
IComparer<T>^ comparer
)
static member CreateComparison :
comparer : IComparer<'T> -> Comparison<'T>
Parameters
- comparer
- Type: System.Collections.GenericIComparerT
Comparer to use when the returned delegate is called. Must not be null.
Return Value
Type:
ComparisonTA Comparison delegate which proxies to the given Comparer.
See Also