Five New Optimizely Certifications are Here! Validate your expertise and advance your career with our latest certification exams. Click here to find out more

Interface ITemplateActivator

Used to create template instances

Namespace: EPiServer.Scanning.Internal
Assembly: EPiServer.Cms.AspNetCore.Templating.dll
Version: 12.0.3
Syntax
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
TemplateModel template

The template model

Returns
Type Description
System.Object

An instance of the template specified by the model

Extension Methods