Compile

ITemplateEngine.Compile method

Transforms the template with the given key and model object to output.

public string Compile(string key, object model)
ParameterTypeDescription
keyStringKey for the template in the template collection.
modelObjectModel object with data for transformation.

Return Value

Resulting output as a String.

See Also