Class TokenStream.ArrayLengthComparer
This class helps users to sort arrays by Length property value.
Inheritance
System.Object
TokenStream.ArrayLengthComparer
Implements
System.Collections.IComparer
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Syncfusion.HTMLUI.Base
Assembly: Syncfusion.HTMLUI.Base.dll
Syntax
protected class ArrayLengthComparer : IComparer
Constructors
ArrayLengthComparer()
Declaration
public ArrayLengthComparer()
Methods
Compare(Object, Object)
Compares two Array classes by Length property values.
Declaration
public int Compare(object x, object y)
Parameters
Type | Name | Description |
---|---|---|
System.Object | x | first parameter |
System.Object | y | second parameter |
Returns
Type | Description |
---|---|
System.Int32 | 0 - if equal; -1 if x is less than y; 1 if x is greater than y |
Implements
System.Collections.IComparer