London Dev Meetup Rescheduled! Due to unavoidable reasons, the event has been moved to 21st May. Speakers remain the same—any changes will be communicated. Seats are limited—register here to secure your spot!

Interface IFragmentElementHandler

Handles element fragments.

Namespace: EPiServer.Core.Html.StringParsing
Assembly: EPiServer.dll
Version: 10.10.4
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