View

Default view

Constructors

this
this(string stringTemplate)
this(string stringTemplate, Json defaultOptions)

Create the template

Alias This

data

Members

Functions

generateBody
string generateBody()

Generates an empty body. If #{body} variable is present, it will be removed

render
string render()

Replace all the variables with the provided options

Variables

data
TemplateData data;

Data that will be used in the template

stringTemplate
string stringTemplate;
Undocumented in source.

Meta