Click or drag to resize

ReverseComparerT Class

Implementation of IComparer{T} based on another one; this simply reverses the original comparison.
Inheritance Hierarchy
SystemObject
  Koden.UtilsReverseComparerT

Namespace:  Koden.Utils
Assembly:  Koden.Utils (in Koden.Utils.dll) Version: 1.1.6453.26060
Syntax
public sealed class ReverseComparer<T> : IComparer<T>

Type Parameters

T

The ReverseComparerT type exposes the following members.

Constructors
Properties
  NameDescription
Public propertyOriginalComparer
Returns the original comparer; this can be useful to avoid multiple reversals.
Top
Methods
  NameDescription
Public methodCompare
Returns the result of comparing the specified values using the original comparer, but reversing the order of comparison.
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Extension Methods
See Also