Interface IContentUrlGeneratorEvents
Unsupported INTERNAL API! Not covered by semantic versioning; might change without notice. Specifies events that are raised during url generation using IContentUrlGenerator
Namespace: EPiServer.Core.Routing.Internal
Assembly: EPiServer.dll
Version: 10.10.4Syntax
public interface IContentUrlGeneratorEvents
Events
GeneratedUrl
Unsupported INTERNAL API! Not covered by semantic versioning; might change without notice. Raised after an url has been generated.
Declaration
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. Raised before an url is generated.
Declaration
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.