Click or drag to resize

InvertedComparerT Class

Inheritance Hierarchy
SystemObject
  System.Collections.GenericComparerT
    Ookii.Collections.GenericInvertedComparerT

Namespace:  Ookii.Collections.Generic
Assembly:  Ookii.Collections.Generic (in Ookii.Collections.Generic.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
public class InvertedComparer<T> : Comparer<T>

Type Parameters

T
The type of objects to compare.

The InvertedComparerT type exposes the following members.

Constructors
  NameDescription
Public methodInvertedComparerT
Initializes a new instance of the InvertedComparerT class.
Top
Properties
  NameDescription
Public propertyStatic memberDefault
Gets an InvertedComparerT that inverts the default comparer for the type specified by the generic argument.
Top
Methods
  NameDescription
Public methodCompare
Compares two objects and returns a value indicating whether one is less than, equal to, or greater than the other.
(Overrides ComparerTCompare(T, T).)
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(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.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
See Also