Class ReverseComparer<T>
The reverse comparer.
Inheritance
Namespace: Telerik.Windows.Diagrams.Core
Assembly: Telerik.Windows.Diagrams.Core.dll
Syntax
public sealed class ReverseComparer<T> : Object, IComparer<T>
Type Parameters
T
The data type being compared. |
Constructors
ReverseComparer()
Initializes a new instance of the ReverseComparer<T> class. Initializes a new instance of the ReverseComparer<T> class.
Declaration
public ReverseComparer()
ReverseComparer(IComparer<T>)
Initializes a new instance of the ReverseComparer<T> class. Initializes a new instance of the ReverseComparer<T> class.
Declaration
public ReverseComparer(IComparer<T> comparer)
Parameters
System.Collections.Generic.IComparer<T>
comparer
The comparer. |
Properties
Comparer
Gets or sets the comparer used in this instance.
Declaration
public IComparer<T> Comparer { get; set; }
Property Value
System.Collections.Generic.IComparer<T>
The comparer. |
Methods
Compare(T, T)
Compares the specified x.
Declaration
public int Compare(T x, T y)
Parameters
T
x
The x. |
T
y
The y. |
Returns
System.Int32
The compare. |