Try our conversational search powered by Generative AI!

Interface IContentRouteEvents

Defines events for content routing

Namespace: EPiServer.Web.Routing
Assembly: EPiServer.Cms.AspNet.dll
Version: 11.20.7
Syntax
public interface IContentRouteEvents

Events

CreatedVirtualPath

Raised when outgoing virtual path has been created.

Declaration
event EventHandler<UrlBuilderEventArgs> CreatedVirtualPath
Event Type
Type Description
System.EventHandler<UrlBuilderEventArgs>

CreatingVirtualPath

Raised when outgoing virtual path is trying to be created by a route.

Declaration
event EventHandler<RequestContextEventArgs> CreatingVirtualPath
Event Type
Type Description
System.EventHandler<RequestContextEventArgs>

RoutedContent

Raised when an incoming request have been routed to a content instance.

Declaration
event EventHandler<RoutingEventArgs> RoutedContent
Event Type
Type Description
System.EventHandler<RoutingEventArgs>

RoutingContent

Raised when outgoing virtual path has been created.

Declaration
event EventHandler<RoutingEventArgs> RoutingContent
Event Type
Type Description
System.EventHandler<RoutingEventArgs>

Extension Methods