November Happy Hour will be moved to Thursday December 5th.

Class PersonalizedContentFragmentHandler

Unsupported INTERNAL API! Not covered by semantic versioning; might change without notice. Handles personalized content fragment

Inheritance
System.Object
PersonalizedContentFragmentHandler
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.Core.Html.StringParsing.Internal
Assembly: EPiServer.dll
Version: 11.20.7
Syntax
[ServiceConfiguration(typeof(IFragmentElementHandler))]
public class PersonalizedContentFragmentHandler : INestedFragmentElementHandler, IFragmentElementHandler

Constructors

PersonalizedContentFragmentHandler(IPersonalizedContentFactory, ISecuredFragmentMarkupGeneratorFactory)

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

Declaration
public PersonalizedContentFragmentHandler(IPersonalizedContentFactory personalizedContentFactory, ISecuredFragmentMarkupGeneratorFactory securedFragmentMarkupGeneratorFactory)
Parameters
Type Name Description
IPersonalizedContentFactory personalizedContentFactory

The personalized content factory.

ISecuredFragmentMarkupGeneratorFactory securedFragmentMarkupGeneratorFactory

The secured fragment markup generator factory.

Properties

NestedFragmentProcessor

Unsupported INTERNAL API! Not covered by semantic versioning; might change without notice.

Declaration
public Action<FragmentParserContext> NestedFragmentProcessor { get; set; }
Property Value
Type Description
System.Action<FragmentParserContext>

Methods

ParseElement(FragmentParserContext, ElementFragment)

Unsupported INTERNAL API! Not covered by semantic versioning; might change without notice.

Declaration
public bool ParseElement(FragmentParserContext context, ElementFragment element)
Parameters
Type Name Description
FragmentParserContext context

The current parser context that contains the source and where any results should be written.

ElementFragment element

The element that should be parsed.

Returns
Type Description
System.Boolean

true if the element was handled, otherwise false.

Implements

Extension Methods