Class UrlSegmentLocatorExtensions
Unsupported INTERNAL API! Not covered by semantic versioning; might change without notice.
Inheritance
Inherited Members
Namespace: EPiServer.Web.Internal
Assembly: EPiServer.dll
Version: 11.20.7Syntax
public static class UrlSegmentLocatorExtensions
Methods
ExistOtherContentWithSegment(IUrlSegmentLocator, ContentReference, ContentReference, String, String)
Unsupported INTERNAL API! Not covered by semantic versioning; might change without notice. Determines if there is a content sibling with the same url segment
Declaration
public static bool ExistOtherContentWithSegment(this IUrlSegmentLocator segmentLocator, ContentReference contentLink, ContentReference destinationLink, string urlSegment, string language)
Parameters
Type | Name | Description |
---|---|---|
IUrlSegmentLocator | segmentLocator | The segment locator being extended |
ContentReference | contentLink | The content link that owns the url segment |
ContentReference | destinationLink | The parent that specifies which sieblings to examine |
System.String | urlSegment | The url segment to examine |
System.String | language | The language for the content |
Returns
Type | Description |
---|---|
System.Boolean |
FindCollidingReference(IUrlSegmentLocator, IContent, String)
Unsupported INTERNAL API! Not covered by semantic versioning; might change without notice. Determines if there is a content sibling with the same url segment
Declaration
public static ContentReference FindCollidingReference(this IUrlSegmentLocator urlSegmentLocator, IContent content, string urlSegment)
Parameters
Type | Name | Description |
---|---|---|
IUrlSegmentLocator | urlSegmentLocator | The segment locator being extended |
IContent | content | The content owning the url segment |
System.String | urlSegment | The url segment to examine |
Returns
Type | Description |
---|---|
ContentReference | A colliding reference or EmptyReference if there is no colliding reference |