Class PropertyExternalContentReferenceIndexer

Implementation of softlink handling for ContentReference links to external ContentProvider.

Inheritance
System.Object
PropertyExternalContentReferenceIndexer
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 PropertyExternalContentReferenceIndexer : IPropertySoftLinkIndexer<ContentReference>, IPropertySoftLinkIndexer

Constructors

PropertyExternalContentReferenceIndexer(IPermanentLinkMapper)

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

PropertyExternalContentReferenceIndexer(IPermanentLinkMapper, SoftLinkFactory)

Initializes a new instance of the PropertyExternalContentReferenceIndexer class.

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

Methods

ResolveReferences(ContentReference, IContent)

Returns SoftLink references if the ContentReference is to an external provider.

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

Implements

Extension Methods