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 IContentRouteEvents

Defines events for content routing

Namespace: EPiServer.Web.Routing
Assembly: EPiServer.Cms.AspNetCore.dll
Version: 12.0.3
Syntax
public interface IContentRouteEvents

Events

CreatedVirtualPath

Raised when outgoing virtual path has been created. Obseleted in favor of GeneratedUrl

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

CreatingVirtualPath

Raised when outgoing virtual path is trying to be created by a route. Obseleted in favor of GeneratingUrl

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

RoutedContent

Raised when an incoming request have been routed to a content instance. Obseleted in favor of ResolvedUrl

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

RoutingContent

Raised when outgoing virtual path has been created. Obseleted in favor of ResolvingUrl

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

Extension Methods