Interface IContentUrlResolverEvents
Specifies events that are raised during url resolving using IUrlResolver
Namespace: EPiServer.Core.Routing
Assembly: EPiServer.dll
Version: 12.0.3Syntax
public interface IContentUrlResolverEvents
Events
ResolvedUrl
Raised after an url has been resolved.
Declaration
event EventHandler<UrlResolverEventArgs> ResolvedUrl
Event Type
Type | Description |
---|---|
System.EventHandler<UrlResolverEventArgs> |
Remarks
An event handler can modify for example the resolved content reference through Context
An event handler can set State to Abort to prevent content from being resolved.ResolvingUrl
Raised before an url is resolved.
Declaration
event EventHandler<UrlResolverEventArgs> ResolvingUrl
Event Type
Type | Description |
---|---|
System.EventHandler<UrlResolverEventArgs> |
Remarks
If an event handler sets content and language and State to Done then that content will be used.
An event handler can set State to Abort to prevent an url from being resolved.