Template Methods
The Template type exposes the following members.
Methods
Name | Description | |
---|---|---|
AddReplacement |
Adds a replacement value for a token.
|
|
StrCmp |
Determines if the target exists in the string at the specified index.
|
|
Write(Char) |
Writes the text to the stream.
|
|
Write(String) |
Writes the text to the stream.
|
|
Write(String, Object) |
Formats and then writes the text to the stream.
|
|
Write(String, Object, Object) |
Formats and then writes the text to the stream.
|
|
Write(String, Object, Object, Object) |
Formats and then writes the text to the stream.
|
|
Write(String, array<Object>[]()[][]) |
Formats and then writes the text to the stream.
|
|
WriteLine(String) |
Writes the text to the stream followed by a new line.
|
|
WriteLine(String, Object) |
Formats and then writes the text to the stream followed by a new line.
|
|
WriteLine(String, Object, Object) |
Formats and then writes the text to the stream followed by a new line.
|
|
WriteLine(String, Object, Object, Object) |
Formats and then writes the text to the stream followed by a new line.
|
|
WriteLine(String, array<Object>[]()[][]) |
Formats and then writes the text to the stream followed by a new line.
|
|
WriteNextLine |
Writes a newline and then indents the text for the next line.
|
|
WriteTemplate(Context) |
Performs the substitutions specified in the template and writes it to the stream.
|
|
WriteTemplate(Object, String, String) |
Substitutes a multi-line template for a token.
|
|
WriteToken |
Substitutes simple text template for a token.
|