Class LinkItemCollectionIndexer
Implementation of softlink parsing for LinkItemCollection.
Inheritance
System.Object
LinkItemCollectionIndexer
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.0Syntax
[ServiceConfiguration(typeof(IPropertySoftLinkIndexer))]
public class LinkItemCollectionIndexer : IPropertySoftLinkIndexer<LinkItemCollection>, IPropertySoftLinkIndexer
Constructors
LinkItemCollectionIndexer(SoftLinkFactory)
Initializes a new instance of the LinkItemCollectionIndexer class.
Declaration
public LinkItemCollectionIndexer(SoftLinkFactory softLinkFactory)
Parameters
Type | Name | Description |
---|---|---|
SoftLinkFactory | softLinkFactory |
LinkItemCollectionIndexer(IPermanentLinkMapper)
Declaration
[Obsolete("Use alternative constructor")]
public LinkItemCollectionIndexer(IPermanentLinkMapper permanentLinkMapper)
Parameters
Type | Name | Description |
---|---|---|
IPermanentLinkMapper | permanentLinkMapper |
Methods
ResolveReferences(LinkItemCollection, IContent)
Returns SoftLink references for link items that links to other content within same application in the LinkItemCollection.
Declaration
public virtual IEnumerable<SoftLink> ResolveReferences(LinkItemCollection linkItemCollection, IContent owner)
Parameters
Type | Name | Description |
---|---|---|
LinkItemCollection | linkItemCollection | |
IContent | owner |
Returns
Type | Description |
---|---|
System.Collections.Generic.IEnumerable<SoftLink> |