Search Results for

    Show / Hide Table of Contents

    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()
    Namespace: Sdl.LanguagePlatform.Core
    Assembly: Sdl.LanguagePlatform.Core.dll
    Syntax
    public static class CharacterProperties

    Fields

    Blanks

    Declaration
    public static readonly char[] Blanks
    Field Value
    Type Description
    System.Char[]

    WhitespaceCharacters

    Declaration
    public static readonly char[] WhitespaceCharacters
    Field Value
    Type Description
    System.Char[]

    Properties

    UppercaseCharacters

    Declaration
    public static char[] UppercaseCharacters { get; }
    Property Value
    Type Description
    System.Char[]

    Methods

    GetCase(Char)

    Declaration
    public static CharacterProperties.Case GetCase(char c)
    Parameters
    Type Name Description
    System.Char c
    Returns
    Type Description
    CharacterProperties.Case

    GetCase(String)

    Declaration
    public static CharacterProperties.Case GetCase(string s)
    Parameters
    Type Name Description
    System.String s
    Returns
    Type Description
    CharacterProperties.Case

    GetCase(String, Int32)

    Declaration
    public static CharacterProperties.Case GetCase(string s, int length)
    Parameters
    Type Name Description
    System.String s
    System.Int32 length
    Returns
    Type Description
    CharacterProperties.Case

    GetPrefixLength(String, Predicate<Char>)

    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

    GetUnicodeBlock(Char)

    Declaration
    public static UnicodeBlock GetUnicodeBlock(char c)
    Parameters
    Type Name Description
    System.Char c
    Returns
    Type Description
    UnicodeBlock

    GetUnicodeCategoryFromName(String)

    Declaration
    public static UnicodeCategory? GetUnicodeCategoryFromName(string className)
    Parameters
    Type Name Description
    System.String className
    Returns
    Type Description
    System.Nullable<System.Globalization.UnicodeCategory>

    GetUnicodeCategoryName(UnicodeCategory)

    Declaration
    public static string GetUnicodeCategoryName(UnicodeCategory cat)
    Parameters
    Type Name Description
    System.Globalization.UnicodeCategory cat
    Returns
    Type Description
    System.String

    IsAll(String, Int32, Predicate<Char>)

    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

    IsAll(String, Predicate<Char>)

    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

    IsBlank(Char)

    Declaration
    public static bool IsBlank(char c)
    Parameters
    Type Name Description
    System.Char c
    Returns
    Type Description
    System.Boolean

    IsBrace(Char)

    Declaration
    public static bool IsBrace(char c)
    Parameters
    Type Name Description
    System.Char c
    Returns
    Type Description
    System.Boolean

    IsBracket(Char)

    Declaration
    public static bool IsBracket(char c)
    Parameters
    Type Name Description
    System.Char c
    Returns
    Type Description
    System.Boolean

    IsCJKChar(Char)

    Declaration
    public static bool IsCJKChar(char c)
    Parameters
    Type Name Description
    System.Char c
    Returns
    Type Description
    System.Boolean

    IsCJKPunctuation(Char)

    Declaration
    public static bool IsCJKPunctuation(char c)
    Parameters
    Type Name Description
    System.Char c
    Returns
    Type Description
    System.Boolean

    IsClosingBracket(Char)

    Declaration
    public static bool IsClosingBracket(char c)
    Parameters
    Type Name Description
    System.Char c
    Returns
    Type Description
    System.Boolean

    IsClosingParenthesis(Char)

    Declaration
    public static bool IsClosingParenthesis(char c)
    Parameters
    Type Name Description
    System.Char c
    Returns
    Type Description
    System.Boolean

    IsClosingQuote(Char)

    Declaration
    public static bool IsClosingQuote(char c)
    Parameters
    Type Name Description
    System.Char c
    Returns
    Type Description
    System.Boolean

    IsColon(Char)

    Declaration
    public static bool IsColon(char c)
    Parameters
    Type Name Description
    System.Char c
    Returns
    Type Description
    System.Boolean

    IsComma(Char)

    Declaration
    public static bool IsComma(char c)
    Parameters
    Type Name Description
    System.Char c
    Returns
    Type Description
    System.Boolean

    IsDash(Char)

    Declaration
    public static bool IsDash(char c)
    Parameters
    Type Name Description
    System.Char c
    Returns
    Type Description
    System.Boolean

    IsDot(Char)

    Declaration
    public static bool IsDot(char c)
    Parameters
    Type Name Description
    System.Char c
    Returns
    Type Description
    System.Boolean

    IsDoubleQuote(Char)

    Declaration
    public static bool IsDoubleQuote(char c)
    Parameters
    Type Name Description
    System.Char c
    Returns
    Type Description
    System.Boolean

    IsExclamation(Char)

    Declaration
    public static bool IsExclamation(char c)
    Parameters
    Type Name Description
    System.Char c
    Returns
    Type Description
    System.Boolean

    IsHyphen(Char)

    Declaration
    public static bool IsHyphen(char c)
    Parameters
    Type Name Description
    System.Char c
    Returns
    Type Description
    System.Boolean

    IsInBlock(Char, UnicodeBlock)

    Declaration
    public static bool IsInBlock(char c, UnicodeBlock b)
    Parameters
    Type Name Description
    System.Char c
    UnicodeBlock b
    Returns
    Type Description
    System.Boolean

    IsJaLongVowelMarker(Char)

    Declaration
    public static bool IsJaLongVowelMarker(char c)
    Parameters
    Type Name Description
    System.Char c
    Returns
    Type Description
    System.Boolean

    IsKoreanChar(Char)

    Declaration
    public static bool IsKoreanChar(char c)
    Parameters
    Type Name Description
    System.Char c
    Returns
    Type Description
    System.Boolean

    IsLatinLetter(Char)

    Declaration
    public static bool IsLatinLetter(char c)
    Parameters
    Type Name Description
    System.Char c
    Returns
    Type Description
    System.Boolean

    IsOpeningBracket(Char)

    Declaration
    public static bool IsOpeningBracket(char c)
    Parameters
    Type Name Description
    System.Char c
    Returns
    Type Description
    System.Boolean

    IsOpeningParenthesis(Char)

    Declaration
    public static bool IsOpeningParenthesis(char c)
    Parameters
    Type Name Description
    System.Char c
    Returns
    Type Description
    System.Boolean

    IsOpeningQuote(Char)

    Declaration
    public static bool IsOpeningQuote(char c)
    Parameters
    Type Name Description
    System.Char c
    Returns
    Type Description
    System.Boolean

    IsParagraph(Char)

    Declaration
    public static bool IsParagraph(char c)
    Parameters
    Type Name Description
    System.Char c
    Returns
    Type Description
    System.Boolean

    IsParenthesis(Char)

    Declaration
    public static bool IsParenthesis(char c)
    Parameters
    Type Name Description
    System.Char c
    Returns
    Type Description
    System.Boolean

    IsPercent(Char)

    Declaration
    public static bool IsPercent(char c)
    Parameters
    Type Name Description
    System.Char c
    Returns
    Type Description
    System.Boolean

    IsQuestion(Char)

    Declaration
    public static bool IsQuestion(char c)
    Parameters
    Type Name Description
    System.Char c
    Returns
    Type Description
    System.Boolean

    IsQuote(Char)

    Declaration
    public static bool IsQuote(char c)
    Parameters
    Type Name Description
    System.Char c
    Returns
    Type Description
    System.Boolean

    IsSemicolon(Char)

    Declaration
    public static bool IsSemicolon(char c)
    Parameters
    Type Name Description
    System.Char c
    Returns
    Type Description
    System.Boolean

    IsSequenceOf(String, UnicodeCategory)

    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

    IsSingleQuote(Char)

    Declaration
    public static bool IsSingleQuote(char c)
    Parameters
    Type Name Description
    System.Char c
    Returns
    Type Description
    System.Boolean

    IsStop(Char)

    Declaration
    public static bool IsStop(char c)
    Parameters
    Type Name Description
    System.Char c
    Returns
    Type Description
    System.Boolean

    IsSurrounder(Char)

    Declaration
    public static bool IsSurrounder(char c)
    Parameters
    Type Name Description
    System.Char c
    Returns
    Type Description
    System.Boolean

    IsTabulator(Char)

    Declaration
    public static bool IsTabulator(char c)
    Parameters
    Type Name Description
    System.Char c
    Returns
    Type Description
    System.Boolean

    IsUpperOrLower(Char)

    Declaration
    public static bool IsUpperOrLower(char c)
    Parameters
    Type Name Description
    System.Char c
    Returns
    Type Description
    System.Boolean

    IsVowel(Char)

    Declaration
    public static bool IsVowel(char c)
    Parameters
    Type Name Description
    System.Char c
    Returns
    Type Description
    System.Boolean

    IsWhitespace(Char)

    Declaration
    public static bool IsWhitespace(char c)
    Parameters
    Type Name Description
    System.Char c
    Returns
    Type Description
    System.Boolean

    ToBase(Char)

    Declaration
    public static char ToBase(char c)
    Parameters
    Type Name Description
    System.Char c
    Returns
    Type Description
    System.Char

    ToBase(String)

    Declaration
    public static string ToBase(string s)
    Parameters
    Type Name Description
    System.String s
    Returns
    Type Description
    System.String

    ToBase(String, Boolean)

    Declaration
    public static string ToBase(string s, bool skipSurrogates)
    Parameters
    Type Name Description
    System.String s
    System.Boolean skipSurrogates
    Returns
    Type Description
    System.String

    ToCase(Char, CharacterProperties.Case)

    Declaration
    public static char ToCase(char ch, CharacterProperties.Case c)
    Parameters
    Type Name Description
    System.Char ch
    CharacterProperties.Case c
    Returns
    Type Description
    System.Char

    ToCase(String, CharacterProperties.Case)

    Declaration
    public static string ToCase(string s, CharacterProperties.Case c)
    Parameters
    Type Name Description
    System.String s
    CharacterProperties.Case c
    Returns
    Type Description
    System.String

    On this page

    • Fields
      • Blanks
      • WhitespaceCharacters
    • Properties
      • UppercaseCharacters
    • Methods
      • GetCase(Char)
      • GetCase(String)
      • GetCase(String, Int32)
      • GetPrefixLength(String, Predicate<Char>)
      • GetUnicodeBlock(Char)
      • GetUnicodeCategoryFromName(String)
      • GetUnicodeCategoryName(UnicodeCategory)
      • IsAll(String, Int32, Predicate<Char>)
      • IsAll(String, Predicate<Char>)
      • IsApostrophe(Char)
      • IsBlank(Char)
      • IsBrace(Char)
      • IsBracket(Char)
      • IsCJKChar(Char)
      • IsCJKPunctuation(Char)
      • IsClosingBracket(Char)
      • IsClosingParenthesis(Char)
      • IsClosingQuote(Char)
      • IsColon(Char)
      • IsComma(Char)
      • IsDash(Char)
      • IsDot(Char)
      • IsDoubleQuote(Char)
      • IsExclamation(Char)
      • IsHyphen(Char)
      • IsInBlock(Char, UnicodeBlock)
      • IsJaLongVowelMarker(Char)
      • IsKoreanChar(Char)
      • IsLatinLetter(Char)
      • IsOpeningBracket(Char)
      • IsOpeningParenthesis(Char)
      • IsOpeningQuote(Char)
      • IsParagraph(Char)
      • IsParenthesis(Char)
      • IsPercent(Char)
      • IsQuestion(Char)
      • IsQuote(Char)
      • IsSemicolon(Char)
      • IsSequenceOf(String, UnicodeCategory)
      • IsSingleQuote(Char)
      • IsStop(Char)
      • IsSurrounder(Char)
      • IsTabulator(Char)
      • IsUpperOrLower(Char)
      • IsVowel(Char)
      • IsWhitespace(Char)
      • ToBase(Char)
      • ToBase(String)
      • ToBase(String, Boolean)
      • ToCase(Char, CharacterProperties.Case)
      • ToCase(String, CharacterProperties.Case)
    Back to top Generated by DocFX