[]
        
(Showing Draft Content)

C1.Win.Util.CodeRange

CodeRange Class

Represents range of character codes.

Inheritance
CodeRange
Implements
Namespace: C1.Win.Util
Assembly: C1.Win.4.8.dll
Syntax
public class CodeRange : ICloneable

Constructors

Name Description
CodeRange(char)

Initialization of the range of character codes

CodeRange(char, char)

Initialization of the range of character codes

CodeRange(ushort, ushort)

Creates a new instance of CodeRange class.

Properties

Name Description
First

The begin code of character.

Last

The end code of character.

Methods

Name Description
Clone()
Contains(CodeRange)
FromUtf32(int)

Convert form code point to text.

IsSurrogateHigh(char)

Whether is high code (Unicode) of surrogate character.

IsSurrogateLow(char)

Whether is low code (Unicode) of surrogate character.

IsSurrogatePair(char[], int)

Whether is pair of surrogate characters.

IsSurrogatePair(string, int)

Whether is pair of surrogate characters.

ToUtf32(char, char)

Convert surrogate pair to UTF32 code.

ToUtf32(string, int)

Convert text's character (maybe with surrogate pairs) to UTF32 code.