Method | Description | |
---|---|---|
GetTemplate ( String template ) : String |
Gets the full content of a template.
|
|
GetTokenReplacements ( String title, List |
Gets a dictionary that contains standard replacement tokens using the specified values.
|
|
GetWebRoot ( ) : String |
Gets the full path of the directory that is .
|
|
PopulateTemplate ( String template, String>.Dictionary |
Retrieves the template with the specified name, and returns the contents of the template after replacing instances of the dictionary keys from tokenReplacements with their coorresponding values. The value of template should not include the file extension. |
public static GetTemplate ( String template ) : String | ||
template | String | |
return | String |
public static GetTokenReplacements ( String title, List |
||
title | String | |
handlers | List |
|
body | String | |
return | String>.Dictionary |
public static PopulateTemplate ( String template, String>.Dictionary |
||
template | String | The name of the template to populate. |
tokenReplacements | String>.Dictionary | A dictionary containing key/value pairs for replacement. |
return | String |