Class ContentUrlGeneratorEvents
Unsupported INTERNAL API! Not covered by semantic versioning; might change without notice. Base class for IContentUrlGeneratorEvents implementations
Inheritance
Implements
Inherited Members
Namespace: EPiServer.Core.Routing.Internal
Assembly: EPiServer.dll
Version: 10.10.4Syntax
public abstract class ContentUrlGeneratorEvents : IContentUrlGeneratorEvents
Constructors
ContentUrlGeneratorEvents()
Declaration
protected ContentUrlGeneratorEvents()
Methods
OnGeneratedUrl(UrlGeneratorEventArgs)
Unsupported INTERNAL API! Not covered by semantic versioning; might change without notice. Call to raise GeneratedUrl event
Declaration
protected void OnGeneratedUrl(UrlGeneratorEventArgs args)
Parameters
Type | Name | Description |
---|---|---|
UrlGeneratorEventArgs | args | The event argument |
OnGeneratingUrl(UrlGeneratorEventArgs)
Unsupported INTERNAL API! Not covered by semantic versioning; might change without notice. Call to raise GeneratingUrl event
Declaration
protected void OnGeneratingUrl(UrlGeneratorEventArgs args)
Parameters
Type | Name | Description |
---|---|---|
UrlGeneratorEventArgs | args | The event argument |
Events
GeneratedUrl
Unsupported INTERNAL API! Not covered by semantic versioning; might change without notice.
Declaration
public event EventHandler<UrlGeneratorEventArgs> GeneratedUrl
Event Type
Type | Description |
---|---|
System.EventHandler<UrlGeneratorEventArgs> |
Remarks
An event handler can modify the generated url through Context
An event handler can set State to Abort to prevent an url from being generated.GeneratingUrl
Unsupported INTERNAL API! Not covered by semantic versioning; might change without notice.
Declaration
public event EventHandler<UrlGeneratorEventArgs> GeneratingUrl
Event Type
Type | Description |
---|---|
System.EventHandler<UrlGeneratorEventArgs> |
Remarks
If an event handler sets the url on Context and assign State to Done then that url will be used.
An event handler can set State to Abort to prevent an url from being generated.