Class ContentAreaIndexer

Implementation of softlink parsing for ContentArea.

Inheritance
System.Object
ContentAreaIndexer
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: 8.11.0
Syntax
[ServiceConfiguration(typeof(IPropertySoftLinkIndexer))]
public class ContentAreaIndexer : XhtmlStringIndexer, IPropertySoftLinkIndexer<XhtmlString>, IPropertySoftLinkIndexer<ContentArea>, IPropertySoftLinkIndexer

Constructors

ContentAreaIndexer(IPermanentLinkMapper)

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

ContentAreaIndexer(IPermanentLinkMapper, SoftLinkFactory)

Initializes a new instance of the ContentAreaIndexer class.

Declaration
public ContentAreaIndexer(IPermanentLinkMapper permanentLinkMapper, SoftLinkFactory softLinkFactory)
Parameters
Type Name Description
IPermanentLinkMapper permanentLinkMapper
SoftLinkFactory softLinkFactory

Methods

ResolveReferences(ContentArea, IContent)

Returns SoftLink references for all items in the ContentArea.

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

Implements

Extension Methods