AddTemplate

ITemplateEngine.AddTemplate method

Adds the template to the template collection.

public void AddTemplate(string key, string template, Type modelType)
ParameterTypeDescription
keyStringKey for the template in the template collection.
templateStringTemplate content.
modelTypeTypeType of a model object for the template.

See Also