C# Класс SILUBS.SharedScrUtils.CharacterCategorizer

Показать файл Открыть проект Примеры использования класса

Открытые свойства

Свойство Тип Описание
SingleCharacterWords char[]

Открытые методы

Метод Описание
CharacterCategorizer ( ) : System

Use this constructor to default to Unicode character semantics.

CharacterCategorizer ( string _wordFormingCharacters, string wordMedialPunct, string _diacriticCharacters ) : System

This constructor allows overriding Unicode character semantics for use with hacked fonts.

DiacriticsFollowBaseCharacters ( ) : bool

Diacritics always follow base characters in Unicode. In hacked fonts this may not be true.

IsDiacritic ( char cc ) : bool

Determines whether the specified cc is diacritic.

IsLower ( char ch ) : bool

Determines whether the specified ch is lower.

IsPunctuation ( char cc ) : bool

Determines whether the specified cc is punctuation.

IsSingleCharacterWord ( char cc ) : bool

Determines whether the specified character is a single character word.

IsTitle ( char ch ) : bool

Determines whether the specified ch is title.

IsUpper ( char ch ) : bool

Determines whether the specified ch is upper.

IsWordFormingCharacter ( char cc ) : bool

Determines whether a character is a word forming character.

IsWordMedialPunctuation ( char cc ) : bool

Determines whether [is word medial punctuation] [the specified cc].

ToLower ( string str ) : string

Toes the lower.

ToUpper ( string str ) : string

Toes the upper.

WordAndPuncts ( string text ) : List

Описание методов

CharacterCategorizer() публичный Метод

Use this constructor to default to Unicode character semantics.
public CharacterCategorizer ( ) : System
Результат System

CharacterCategorizer() публичный Метод

This constructor allows overriding Unicode character semantics for use with hacked fonts.
public CharacterCategorizer ( string _wordFormingCharacters, string wordMedialPunct, string _diacriticCharacters ) : System
_wordFormingCharacters string The _word forming characters.
wordMedialPunct string The word medial punct.
_diacriticCharacters string The _diacritic characters.
Результат System

DiacriticsFollowBaseCharacters() публичный Метод

Diacritics always follow base characters in Unicode. In hacked fonts this may not be true.
public DiacriticsFollowBaseCharacters ( ) : bool
Результат bool

IsDiacritic() публичный Метод

Determines whether the specified cc is diacritic.
public IsDiacritic ( char cc ) : bool
cc char The cc.
Результат bool

IsLower() публичный Метод

Determines whether the specified ch is lower.
public IsLower ( char ch ) : bool
ch char The ch.
Результат bool

IsPunctuation() публичный Метод

Determines whether the specified cc is punctuation.
public IsPunctuation ( char cc ) : bool
cc char The cc.
Результат bool

IsSingleCharacterWord() публичный Метод

Determines whether the specified character is a single character word.
public IsSingleCharacterWord ( char cc ) : bool
cc char The specified character.
Результат bool

IsTitle() публичный Метод

Determines whether the specified ch is title.
public IsTitle ( char ch ) : bool
ch char The ch.
Результат bool

IsUpper() публичный Метод

Determines whether the specified ch is upper.
public IsUpper ( char ch ) : bool
ch char The ch.
Результат bool

IsWordFormingCharacter() публичный Метод

Determines whether a character is a word forming character.
public IsWordFormingCharacter ( char cc ) : bool
cc char The specified character.
Результат bool

IsWordMedialPunctuation() публичный Метод

Determines whether [is word medial punctuation] [the specified cc].
public IsWordMedialPunctuation ( char cc ) : bool
cc char The cc.
Результат bool

ToLower() публичный Метод

Toes the lower.
public ToLower ( string str ) : string
str string The STR.
Результат string

ToUpper() публичный Метод

Toes the upper.
public ToUpper ( string str ) : string
str string The STR.
Результат string

WordAndPuncts() публичный Метод

public WordAndPuncts ( string text ) : List
text string
Результат List

Описание свойств

SingleCharacterWords публичное статическое свойство

public static char[] SingleCharacterWords
Результат char[]