|
CmdMessenger
3.0
CmdMessenger is a serial port messaging library for the .Net / Mono Platform.
|
Utility class providing escaping functions. More...
Static Public Member Functions | |
| static void | EscapeChars (char fieldSeparator, char commandSeparator, char escapeCharacter) |
| Sets custom escape characters. | |
| static string | Remove (string input, char removeChar, char escapeChar) |
| Removes all occurences of a specific character unless escaped. | |
| static String[] | Split (string input, char separator, char escapeCharacter, StringSplitOptions stringSplitOptions) |
| Splits. | |
| static string | Escape (string input) |
| Escapes the input string. | |
| static string | Unescape (string input) |
| Unescapes the input string. | |
Properties | |
| static char | EscapeCharacter [get] |
| Gets the escape character. | |
Utility class providing escaping functions.
| static string CommandMessenger.Escaping.Escape | ( | string | input | ) | [static] |
Escapes the input string.
| input | The unescaped input string. |
| static void CommandMessenger.Escaping.EscapeChars | ( | char | fieldSeparator, |
| char | commandSeparator, | ||
| char | escapeCharacter | ||
| ) | [static] |
Sets custom escape characters.
| fieldSeparator | The field separator. |
| commandSeparator | The command separator. |
| escapeCharacter | The escape character. |
| static string CommandMessenger.Escaping.Remove | ( | string | input, |
| char | removeChar, | ||
| char | escapeChar | ||
| ) | [static] |
Removes all occurences of a specific character unless escaped.
| input | The input. |
| removeChar | The character to remove. |
| escapeChar | The escape character. |
| static String [] CommandMessenger.Escaping.Split | ( | string | input, |
| char | separator, | ||
| char | escapeCharacter, | ||
| StringSplitOptions | stringSplitOptions | ||
| ) | [static] |
Splits.
| input | The input. |
| separator | The separator. |
| escapeCharacter | The escape character. |
| stringSplitOptions | Options for controlling the string split. |
| static string CommandMessenger.Escaping.Unescape | ( | string | input | ) | [static] |
Unescapes the input string.
| input | The escaped input string. |
char CommandMessenger.Escaping.EscapeCharacter [static, get] |
Gets the escape character.
The escape character.
1.7.6.1