Click or drag to resize

ComparerExt Class

Extensions to IComparer
Inheritance Hierarchy
SystemObject
  Koden.Utils.ExtensionsComparerExt

Namespace:  Koden.Utils.Extensions
Assembly:  Koden.Utils (in Koden.Utils.dll) Version: 1.1.6453.26060
Syntax
public static class ComparerExt

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