Class XhtmlStringIndexer

Unsupported INTERNAL API! Not covered by semantic versioning; might change without notice. Implementation of softlink parsing for XhtmlString.

Inheritance
System.Object
XhtmlStringIndexer
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.Internal
Assembly: EPiServer.dll
Version: 11.20.7
Syntax
[ServiceConfiguration(typeof(IPropertySoftLinkIndexer))]
public class XhtmlStringIndexer : IPropertySoftLinkIndexer<XhtmlString>, IPropertySoftLinkIndexer

Constructors

XhtmlStringIndexer(IPermanentLinkMapper, SoftLinkFactory)

Unsupported INTERNAL API! Not covered by semantic versioning; might change without notice. Initializes a new instance of the XhtmlStringIndexer class.

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

Methods

Unsupported INTERNAL API! Not covered by semantic versioning; might change without notice. Adds softlinks from contentFragments.

Declaration
protected virtual void HandleContentFragmentsWithLinks(HashSet<SoftLink> softLinks, IEnumerable<ContentFragment> contentFragments, IContent owner)
Parameters
Type Name Description
System.Collections.Generic.HashSet<SoftLink> softLinks
System.Collections.Generic.IEnumerable<ContentFragment> contentFragments
IContent owner

Unsupported INTERNAL API! Not covered by semantic versioning; might change without notice. Adds softlinks from elements.

Declaration
protected virtual void HandleElementsWithLinks(HashSet<SoftLink> softLinks, IEnumerable<ElementFragment> elements, IContent owner)
Parameters
Type Name Description
System.Collections.Generic.HashSet<SoftLink> softLinks
System.Collections.Generic.IEnumerable<ElementFragment> elements
IContent owner

ResolveReferences(XhtmlString, IContent)

Unsupported INTERNAL API! Not covered by semantic versioning; might change without notice. Returns SoftLink references for all linked content items.

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

Implements

Extension Methods