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
Namespace: Syncfusion.HTMLUI.Base
Assembly: Syncfusion.HTMLUI.Base.dll
Syntax
protected class CaseInsensCharComparer : Object, 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