Méthode | Description | |
---|---|---|
Clear ( ) : void |
Clears the template.
|
|
Execute ( ) : void |
Executes the compiled template.
|
|
Write ( object obj ) : void |
Writes the specified object to the template result.
|
|
WriteLiteral ( string literal ) : void |
Writes the specified literal to the template result.
|
|
WriteLiteralTo ( |
Writes a string literal to the specified TextWriter.
|
|
WriteTo ( |
Writes the specified object to the specified TextWriter.
|
Méthode | Description | |
---|---|---|
TemplateBase ( ) : System.Collections.Generic |
Initialises a new instance of TemplateBase.
|
protected TemplateBase ( ) : System.Collections.Generic | ||
Résultat | System.Collections.Generic |
public Write ( object obj ) : void | ||
obj | object | The object to write to the template result. |
Résultat | void |
public WriteLiteral ( string literal ) : void | ||
literal | string | The literal to write to the template result. |
Résultat | void |
public static WriteLiteralTo ( |
||
writer | The writer. | |
literal | string | The literal to be written. |
Résultat | void |
public static WriteTo ( |
||
writer | The writer. | |
obj | object | The object to be written. |
Résultat | void |