Interface ITemplateResolverEvents
Exposes events raised during template resolving through ITemplateResolver that can be used to extend template resolving.
Namespace: EPiServer.Web
Assembly: EPiServer.Cms.AspNetCore.Templating.dll
Version: 12.0.3Syntax
public interface ITemplateResolverEvents
Events
TemplateResolved
Occurs when a rendering template has been resolved. This events raises after finding default or first supported template. The selected template can be changed by updating the SelectedTemplate property.
Declaration
event EventHandler<TemplateResolverEventArgs> TemplateResolved
Event Type
Type | Description |
---|---|
System.EventHandler<TemplateResolverEventArgs> |
TemplateResolving
Occurs when a template is about to be resolved.
Declaration
event EventHandler<TemplateResolverEventArgs> TemplateResolving
Event Type
Type | Description |
---|---|
System.EventHandler<TemplateResolverEventArgs> |