SaaS CMS has officially launched! Learn more now.

Interface IUrlSegmentLocator

Component that locates content instances from url segments

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

Methods

FindCollidingReference(ContentReference, ContentReference, String, String)

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