November Happy Hour will be moved to Thursday December 5th.

Interface ITemplateResolverEvents

Exposes events raised during template resolving through ITemplateResolver that can be used to extend template resolving.

Namespace: EPiServer.Web
Assembly: EPiServer.Cms.AspNet.dll
Version: 11.20.7
Syntax
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>

Extension Methods