Method | Description | |
---|---|---|
DefineTextMacro ( string name, string value ) : void |
Defines a text macro
|
|
Format ( string format ) : string |
Formats a string, see class description for formatting instructions
|
|
StaticFormat ( string format ) : string | ||
UndefineTextMacro ( string name ) : void |
Removes a text macro
|
Method | Description | |
---|---|---|
EscapeSafeSplit ( string toEscape, char splitBy ) : string[] | ||
FindNextNotEscaped ( int offset, string findIn, string toFind ) : int |
Finds the next not escaped character (tofind)
|
|
FindStartMarker ( int offset, string str ) : int? |
Finds the next formatable part "{..."
|
|
FormatLF ( int length, string val, char fillChar ) : string | ||
FormatLN ( int length, string val ) : string | ||
FormatM ( int length, string val, char fillChar ) : string | ||
FormatPacket ( string format, object args ) : string |
Does the formating stuff
|
|
FormatR ( int length, string val, char fillChar ) : string | ||
GetFormatPacket ( int &offset, string str ) : string |
Gets the formatable packet. It assumes that offset is already located after the start marker "{"
|
|
StringifyParameter ( object arg ) : string | ||
Unescape ( string escaped ) : string |
public DefineTextMacro ( string name, string value ) : void | ||
name | string | |
value | string | |
return | void |
public static StaticFormat ( string format ) : string | ||
format | string | |
return | string |
public UndefineTextMacro ( string name ) : void | ||
name | string | |
return | void |