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

Class ContentUrlResolverEvents

Unsupported INTERNAL API! Not covered by semantic versioning; might change without notice. Base class for IContentUrlResolverEvents implementations

Inheritance
System.Object
ContentUrlResolverEvents
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: EPiServer.Core.Routing.Internal
Assembly: EPiServer.dll
Version: 11.20.7
Syntax
public abstract class ContentUrlResolverEvents : IContentUrlResolverEvents

Constructors

ContentUrlResolverEvents()

Declaration
protected ContentUrlResolverEvents()

Methods

OnResolvedUrl(UrlResolverEventArgs)

Unsupported INTERNAL API! Not covered by semantic versioning; might change without notice. Call to raise ResolvedUrl event

Declaration
protected void OnResolvedUrl(UrlResolverEventArgs args)
Parameters
Type Name Description
UrlResolverEventArgs args

The event argument

OnResolvingUrl(UrlResolverEventArgs)

Unsupported INTERNAL API! Not covered by semantic versioning; might change without notice. Call to raise ResolvingUrl event

Declaration
protected void OnResolvingUrl(UrlResolverEventArgs args)
Parameters
Type Name Description
UrlResolverEventArgs args

The event argument

Events

ResolvedUrl

Unsupported INTERNAL API! Not covered by semantic versioning; might change without notice.

Declaration
public 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.

Declaration
public 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.

Implements

Extension Methods