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

Class UrlIndexer

Implementation of softlink indexing for Url properties

Inheritance
System.Object
UrlIndexer
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: EPiServer.SpecializedProperties
Assembly: EPiServer.dll
Version: 9.12.2
Syntax
[ServiceConfiguration(typeof(IPropertySoftLinkIndexer))]
public class UrlIndexer : IPropertySoftLinkIndexer<Url>, IPropertySoftLinkIndexer

Constructors

UrlIndexer(SoftLinkFactory)

Initializes a new instance of the UrlIndexer class.

Declaration
public UrlIndexer(SoftLinkFactory softLinkFactory)
Parameters
Type Name Description
SoftLinkFactory softLinkFactory

UrlIndexer(IPermanentLinkMapper)

Declaration
[Obsolete("Use alternative constructor")]
public UrlIndexer(IPermanentLinkMapper permanentLinkMapper)
Parameters
Type Name Description
IPermanentLinkMapper permanentLinkMapper

Methods

ResolveReferences(Url, IContent)

Returns SoftLink references for the Url property.

Declaration
public virtual IEnumerable<SoftLink> ResolveReferences(Url url, IContent owner)
Parameters
Type Name Description
Url url
IContent owner
Returns
Type Description
System.Collections.Generic.IEnumerable<SoftLink>

Implements

Extension Methods