Try our conversational search powered by Generative AI!

Interface IPropertySoftLinkIndexer<T>

Implement to register SoftLink support for properties.

Namespace: EPiServer.SpecializedProperties
Assembly: EPiServer.dll
Version: 11.20.7
Syntax
public interface IPropertySoftLinkIndexer<T> : IPropertySoftLinkIndexer
Type Parameters
Name Description
T

This should be the type specified by PropertyValueType

Remarks

Registration should be done by registering implementation class with interface IPropertySoftLinkIndexer in IOC container.

Methods

ResolveReferences(T, IContent)

Return all SoftLink references from the property instance.

Declaration
IEnumerable<SoftLink> ResolveReferences(T property, IContent owner)
Parameters
Type Name Description
T property

The property to parse SoftLink instances from

IContent owner

The content item that owns the property.

Returns
Type Description
System.Collections.Generic.IEnumerable<SoftLink>

Extension Methods