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

Interface IContentUrlResolverEvents

Unsupported INTERNAL API! Not covered by semantic versioning; might change without notice. Specifies events that are raised during url resolving using IContentUrlResolver

Namespace: EPiServer.Core.Routing.Internal
Assembly: EPiServer.dll
Version: 11.20.7
Syntax
public interface IContentUrlResolverEvents

Events

ResolvedUrl

Unsupported INTERNAL API! Not covered by semantic versioning; might change without notice. 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

Unsupported INTERNAL API! Not covered by semantic versioning; might change without notice. 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.

Extension Methods