Class TokenStream.CaseInsensCharComparer
This class provides the functionality for comparing two characters. It fixes Microsoft bug: case insensitive help provided only for strings.
Inheritance
System.Object
TokenStream.CaseInsensCharComparer
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 CaseInsensCharComparer : IComparer
Constructors
CaseInsensCharComparer()
Declaration
public CaseInsensCharComparer()
Methods
Compare(Object, Object)
Compares two characters by its values - case insensitive
Declaration
public int Compare(object x, object y)
Parameters
Type | Name | Description |
---|---|---|
System.Object | x | first value |
System.Object | y | second value |
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