Interface ITemplateActivator
Used to create template instances
Namespace: EPiServer.Scanning.Internal
Assembly: EPiServer.Cms.AspNetCore.Templating.dll
Version: 12.0.3Syntax
public interface ITemplateActivator
Methods
CreateInstance(TemplateModel)
Creates an instance of the template specified by the template model
Declaration
object CreateInstance(TemplateModel template)
Parameters
Type | Name | Description |
---|---|---|
Template |
template | The template model |
Returns
Type | Description |
---|---|
System. |
An instance of the template specified by the model |