Class TokenStream.ArrayLengthComparer
Class helps us 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.IO
Assembly: Syncfusion.MIME.Base.dll
Syntax
protected class ArrayLengthComparer : IComparer
Constructors
ArrayLengthComparer()
Declaration
public ArrayLengthComparer()
Methods
Compare(Object, Object)
Method compare 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 equel, -1 if x less y, 1 if x greater y |
Implements
System.Collections.IComparer