Class CharacterProperties
Inheritance
System.Object
CharacterProperties
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Assembly: Sdl.LanguagePlatform.Core.dll
public static class CharacterProperties
Fields
Declaration
public static readonly char[] Blanks
Field Value
Type |
Description |
System.Char[] |
|
Declaration
public static readonly char[] WhitespaceCharacters
Field Value
Type |
Description |
System.Char[] |
|
Properties
Declaration
public static char[] UppercaseCharacters { get; }
Property Value
Type |
Description |
System.Char[] |
|
Methods
Declaration
public static CharacterProperties.Case GetCase(char c)
Parameters
Type |
Name |
Description |
System.Char |
c |
|
Returns
Declaration
public static CharacterProperties.Case GetCase(string s)
Parameters
Type |
Name |
Description |
System.String |
s |
|
Returns
Declaration
public static CharacterProperties.Case GetCase(string s, int length)
Parameters
Type |
Name |
Description |
System.String |
s |
|
System.Int32 |
length |
|
Returns
Declaration
public static int GetPrefixLength(string s, Predicate<char> predicate)
Parameters
Type |
Name |
Description |
System.String |
s |
|
System.Predicate<System.Char> |
predicate |
|
Returns
Type |
Description |
System.Int32 |
|
Declaration
public static UnicodeBlock GetUnicodeBlock(char c)
Parameters
Type |
Name |
Description |
System.Char |
c |
|
Returns
Declaration
public static UnicodeCategory? GetUnicodeCategoryFromName(string className)
Parameters
Type |
Name |
Description |
System.String |
className |
|
Returns
Type |
Description |
System.Nullable<System.Globalization.UnicodeCategory> |
|
Declaration
public static string GetUnicodeCategoryName(UnicodeCategory cat)
Parameters
Type |
Name |
Description |
System.Globalization.UnicodeCategory |
cat |
|
Returns
Type |
Description |
System.String |
|
Declaration
public static bool IsAll(string s, int start, Predicate<char> predicate)
Parameters
Type |
Name |
Description |
System.String |
s |
|
System.Int32 |
start |
|
System.Predicate<System.Char> |
predicate |
|
Returns
Type |
Description |
System.Boolean |
|
Declaration
public static bool IsAll(string s, Predicate<char> predicate)
Parameters
Type |
Name |
Description |
System.String |
s |
|
System.Predicate<System.Char> |
predicate |
|
Returns
Type |
Description |
System.Boolean |
|
IsApostrophe(Char)
Declaration
public static bool IsApostrophe(char c)
Parameters
Type |
Name |
Description |
System.Char |
c |
|
Returns
Type |
Description |
System.Boolean |
|
Declaration
public static bool IsBlank(char c)
Parameters
Type |
Name |
Description |
System.Char |
c |
|
Returns
Type |
Description |
System.Boolean |
|
Declaration
public static bool IsBrace(char c)
Parameters
Type |
Name |
Description |
System.Char |
c |
|
Returns
Type |
Description |
System.Boolean |
|
Declaration
public static bool IsBracket(char c)
Parameters
Type |
Name |
Description |
System.Char |
c |
|
Returns
Type |
Description |
System.Boolean |
|
Declaration
public static bool IsCJKChar(char c)
Parameters
Type |
Name |
Description |
System.Char |
c |
|
Returns
Type |
Description |
System.Boolean |
|
Declaration
public static bool IsCJKPunctuation(char c)
Parameters
Type |
Name |
Description |
System.Char |
c |
|
Returns
Type |
Description |
System.Boolean |
|
Declaration
public static bool IsClosingBracket(char c)
Parameters
Type |
Name |
Description |
System.Char |
c |
|
Returns
Type |
Description |
System.Boolean |
|
Declaration
public static bool IsClosingParenthesis(char c)
Parameters
Type |
Name |
Description |
System.Char |
c |
|
Returns
Type |
Description |
System.Boolean |
|
Declaration
public static bool IsClosingQuote(char c)
Parameters
Type |
Name |
Description |
System.Char |
c |
|
Returns
Type |
Description |
System.Boolean |
|
Declaration
public static bool IsColon(char c)
Parameters
Type |
Name |
Description |
System.Char |
c |
|
Returns
Type |
Description |
System.Boolean |
|
Declaration
public static bool IsComma(char c)
Parameters
Type |
Name |
Description |
System.Char |
c |
|
Returns
Type |
Description |
System.Boolean |
|
Declaration
public static bool IsDash(char c)
Parameters
Type |
Name |
Description |
System.Char |
c |
|
Returns
Type |
Description |
System.Boolean |
|
Declaration
public static bool IsDot(char c)
Parameters
Type |
Name |
Description |
System.Char |
c |
|
Returns
Type |
Description |
System.Boolean |
|
Declaration
public static bool IsDoubleQuote(char c)
Parameters
Type |
Name |
Description |
System.Char |
c |
|
Returns
Type |
Description |
System.Boolean |
|
Declaration
public static bool IsExclamation(char c)
Parameters
Type |
Name |
Description |
System.Char |
c |
|
Returns
Type |
Description |
System.Boolean |
|
Declaration
public static bool IsHyphen(char c)
Parameters
Type |
Name |
Description |
System.Char |
c |
|
Returns
Type |
Description |
System.Boolean |
|
Declaration
public static bool IsInBlock(char c, UnicodeBlock b)
Parameters
Returns
Type |
Description |
System.Boolean |
|
Declaration
public static bool IsJaLongVowelMarker(char c)
Parameters
Type |
Name |
Description |
System.Char |
c |
|
Returns
Type |
Description |
System.Boolean |
|
Declaration
public static bool IsKoreanChar(char c)
Parameters
Type |
Name |
Description |
System.Char |
c |
|
Returns
Type |
Description |
System.Boolean |
|
Declaration
public static bool IsLatinLetter(char c)
Parameters
Type |
Name |
Description |
System.Char |
c |
|
Returns
Type |
Description |
System.Boolean |
|
Declaration
public static bool IsOpeningBracket(char c)
Parameters
Type |
Name |
Description |
System.Char |
c |
|
Returns
Type |
Description |
System.Boolean |
|
Declaration
public static bool IsOpeningParenthesis(char c)
Parameters
Type |
Name |
Description |
System.Char |
c |
|
Returns
Type |
Description |
System.Boolean |
|
Declaration
public static bool IsOpeningQuote(char c)
Parameters
Type |
Name |
Description |
System.Char |
c |
|
Returns
Type |
Description |
System.Boolean |
|
Declaration
public static bool IsParagraph(char c)
Parameters
Type |
Name |
Description |
System.Char |
c |
|
Returns
Type |
Description |
System.Boolean |
|
Declaration
public static bool IsParenthesis(char c)
Parameters
Type |
Name |
Description |
System.Char |
c |
|
Returns
Type |
Description |
System.Boolean |
|
Declaration
public static bool IsPercent(char c)
Parameters
Type |
Name |
Description |
System.Char |
c |
|
Returns
Type |
Description |
System.Boolean |
|
Declaration
public static bool IsQuestion(char c)
Parameters
Type |
Name |
Description |
System.Char |
c |
|
Returns
Type |
Description |
System.Boolean |
|
Declaration
public static bool IsQuote(char c)
Parameters
Type |
Name |
Description |
System.Char |
c |
|
Returns
Type |
Description |
System.Boolean |
|
Declaration
public static bool IsSemicolon(char c)
Parameters
Type |
Name |
Description |
System.Char |
c |
|
Returns
Type |
Description |
System.Boolean |
|
Declaration
public static bool IsSequenceOf(string s, UnicodeCategory c)
Parameters
Type |
Name |
Description |
System.String |
s |
|
System.Globalization.UnicodeCategory |
c |
|
Returns
Type |
Description |
System.Boolean |
|
Declaration
public static bool IsSingleQuote(char c)
Parameters
Type |
Name |
Description |
System.Char |
c |
|
Returns
Type |
Description |
System.Boolean |
|
Declaration
public static bool IsStop(char c)
Parameters
Type |
Name |
Description |
System.Char |
c |
|
Returns
Type |
Description |
System.Boolean |
|
Declaration
public static bool IsSurrounder(char c)
Parameters
Type |
Name |
Description |
System.Char |
c |
|
Returns
Type |
Description |
System.Boolean |
|
Declaration
public static bool IsTabulator(char c)
Parameters
Type |
Name |
Description |
System.Char |
c |
|
Returns
Type |
Description |
System.Boolean |
|
Declaration
public static bool IsUpperOrLower(char c)
Parameters
Type |
Name |
Description |
System.Char |
c |
|
Returns
Type |
Description |
System.Boolean |
|
Declaration
public static bool IsVowel(char c)
Parameters
Type |
Name |
Description |
System.Char |
c |
|
Returns
Type |
Description |
System.Boolean |
|
Declaration
public static bool IsWhitespace(char c)
Parameters
Type |
Name |
Description |
System.Char |
c |
|
Returns
Type |
Description |
System.Boolean |
|
Declaration
public static char ToBase(char c)
Parameters
Type |
Name |
Description |
System.Char |
c |
|
Returns
Type |
Description |
System.Char |
|
Declaration
public static string ToBase(string s)
Parameters
Type |
Name |
Description |
System.String |
s |
|
Returns
Type |
Description |
System.String |
|
Declaration
public static string ToBase(string s, bool skipSurrogates)
Parameters
Type |
Name |
Description |
System.String |
s |
|
System.Boolean |
skipSurrogates |
|
Returns
Type |
Description |
System.String |
|
Declaration
public static char ToCase(char ch, CharacterProperties.Case c)
Parameters
Returns
Type |
Description |
System.Char |
|
Declaration
public static string ToCase(string s, CharacterProperties.Case c)
Parameters
Returns
Type |
Description |
System.String |
|