ITemplateEngine

ITemplateEngine interface

Represents a template engine that transforms template and data pair into resulting output (usually HTML).

public interface ITemplateEngine

Methods

NameDescription
AddTemplate(string, string, Type)Adds the template to the template collection.
Compile(string, object)Transforms the template with the given key and model object to output.

See Also