Interface IFragmentElementHandler

Handles element fragments.

Namespace: EPiServer.Core.Html.StringParsing
Assembly: EPiServer.dll
Version: 11.20.7
Syntax
public interface IFragmentElementHandler

Methods

ParseElement(FragmentParserContext, ElementFragment)

Parses the provided element fragment into a string fragment and adds the result to the provided context.

Declaration
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.

Extension Methods