Five New Optimizely Certifications are Here! Validate your expertise and advance your career with our latest certification exams. Click here to find out more

Class PropertyExternalContentReferenceIndexer

Implementation of softlink handling for ContentReference links to external ContentProvider.

Inheritance
System.Object
PropertyExternalContentReferenceIndexer
Namespace: EPiServer.SpecializedProperties.Internal
Assembly: EPiServer.dll
Version: 12.0.3
Syntax
[ServiceConfiguration]
public class PropertyExternalContentReferenceIndexer : Object, IPropertySoftLinkIndexer<ContentReference>, IPropertySoftLinkIndexer

Constructors

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