C# Class Utility.BaseTypes.Character

Afficher le fichier Open project: aistrate/RegexParser

Méthodes publiques

Méthode Description
AsString ( this chars ) : string
IsDigit ( this c ) : bool
IsHexDigit ( this c ) : bool
IsLetter ( this c ) : bool
IsOctDigit ( this c ) : bool
JoinStrings ( this strings ) : string
JoinStrings ( this strings, string separator ) : string
Show ( this c ) : string

Converts a character into C# character-literal format (ready to be pasted into a program), including the single quotes.

ShowLitChar ( this c ) : string
ShowVerbatim ( this s ) : string

Converts a string into C# *verbatim* string-literal format (ready to be pasted into a program), including the double quotes. Verbatim string literals start with a '@' character (before the opening quote).

Method Details

AsString() public static méthode

public static AsString ( this chars ) : string
chars this
Résultat string

IsDigit() public static méthode

public static IsDigit ( this c ) : bool
c this
Résultat bool

IsHexDigit() public static méthode

public static IsHexDigit ( this c ) : bool
c this
Résultat bool

IsLetter() public static méthode

public static IsLetter ( this c ) : bool
c this
Résultat bool

IsOctDigit() public static méthode

public static IsOctDigit ( this c ) : bool
c this
Résultat bool

JoinStrings() public static méthode

public static JoinStrings ( this strings ) : string
strings this
Résultat string

JoinStrings() public static méthode

public static JoinStrings ( this strings, string separator ) : string
strings this
separator string
Résultat string

Show() public static méthode

Converts a character into C# character-literal format (ready to be pasted into a program), including the single quotes.
public static Show ( this c ) : string
c this
Résultat string

ShowLitChar() public static méthode

public static ShowLitChar ( this c ) : string
c this
Résultat string

ShowVerbatim() public static méthode

Converts a string into C# *verbatim* string-literal format (ready to be pasted into a program), including the double quotes. Verbatim string literals start with a '@' character (before the opening quote).
public static ShowVerbatim ( this s ) : string
s this
Résultat string