Click or drag to resize

ComparerExt Methods

The ComparerExt type exposes the following members.

Methods
  NameDescription
Public methodStatic memberkReverseT
Reverses the original comparer; if it was already a reverse comparer, the previous version was reversed (rather than reversing twice). In other words, for any comparer X, X==X.Reverse().Reverse().
Public methodStatic memberkThenByT(IComparerT, IComparerT)
Combines a comparer with a second comparer to implement composite sort behaviour.
Public methodStatic memberkThenByT, TKey(IComparerT, FuncT, TKey)
Combines a comparer with a projection to implement composite sort behaviour.
Top
See Also