Class ReverseCustomComparer
Class used for sorting the objects in reverse
Inheritance
System.Object
ReverseCustomComparer
Implements
System.Collections.IComparer
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Syncfusion.JavaScript
Assembly: Syncfusion.EJ.Pivot.dll
Syntax
public class ReverseCustomComparer : IComparer
Constructors
ReverseCustomComparer(IComparer)
Initializes the ReverseCustomComparer class.
Declaration
public ReverseCustomComparer(IComparer comparer)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.IComparer | comparer | The comparer |
Properties
CustomComparer
Gets the custom comparer set before sorting applied
Declaration
public IComparer CustomComparer { get; }
Property Value
Type | Description |
---|---|
System.Collections.IComparer |
Methods
Compare(Object, Object)
Gets the compared result
Declaration
public int Compare(object x, object y)
Parameters
Type | Name | Description |
---|---|---|
System.Object | x | Object |
System.Object | y | Object |
Returns
Type | Description |
---|---|
System.Int32 | int |
Implements
System.Collections.IComparer