Class DynamicContentFragmentHandler
Handles dynamic content fragments
Inheritance
System.Object
DynamicContentFragmentHandler
Implements
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
Assembly: EPiServer.dll
Version: 8.11.0Syntax
[ServiceConfiguration(typeof(IFragmentElementHandler))]
public class DynamicContentFragmentHandler : IFragmentElementHandler
Constructors
DynamicContentFragmentHandler(IDynamicContentFactory, ISecuredFragmentMarkupGeneratorFactory)
Initializes a new instance of the DynamicContentFragmentHandler class.
Declaration
public DynamicContentFragmentHandler(IDynamicContentFactory dynamicContentFactory, ISecuredFragmentMarkupGeneratorFactory securedFragmentMarkupGeneratorFactory)
Parameters
Type | Name | Description |
---|---|---|
IDynamicContentFactory | dynamicContentFactory | The dynamic content factory. |
ISecuredFragmentMarkupGeneratorFactory | securedFragmentMarkupGeneratorFactory | The secured fragment markup generator factory. |
Methods
ParseElement(FragmentParserContext, ElementFragment)
Parses the provided element fragment into a string fragment and adds the result to the provided context
.
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 |
|