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

Interface IUrlSegmentLocator

Unsupported INTERNAL API! Not covered by semantic versioning; might change without notice. Component that locates content instances from url segments

Namespace: EPiServer.Web.Internal
Assembly: EPiServer.dll
Version: 11.20.7
Syntax
public interface IUrlSegmentLocator

Methods

FindCollidingReference(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
ContentReference FindCollidingReference(ContentReference contentLink, ContentReference parentLink, string urlSegment, string language)
Parameters
Type Name Description
ContentReference contentLink

The content link that owns the url segment

ContentReference parentLink

The parent for the content

System.String urlSegment

The url segment to examine

System.String language

The language for the content

Returns
Type Description
ContentReference

A colliding reference or EmptyReference if there is no colliding reference

Extension Methods