Interface IUrlSegmentCreator
Component that generates url segments for IContent instances
Namespace: EPiServer.Web
Assembly: EPiServer.dll
Version: 12.0.3Syntax
public interface IUrlSegmentCreator
Methods
Create(IContent, UrlSegmentOptions)
Creates a url segment for a content instance.
Declaration
string Create(IContent content, UrlSegmentOptions urlSegmentOptions)
Parameters
Type | Name | Description |
---|---|---|
IContent | content | The content instance to generate url segment for |
Url |
urlSegmentOptions | The options used to generate the url segment |
Returns
Type | Description |
---|---|
System. |
The generated url segment |
Remarks
The generated url segment is unique among the sieblings for the content
Valid
Events
Created
Raised when a url segment has been created. An event handler can change url segment
Declaration
event EventHandler<UrlSegmentEventArgs> Created
Event Type
Type | Description |
---|---|
System. |
Creating
Raised when a url segment is to be created. An event handler can assign url segment
Declaration
event EventHandler<UrlSegmentEventArgs> Creating
Event Type
Type | Description |
---|---|
System. |