Interface IFragmentAttributeHandler

Handles attribute fragments.

Namespace: EPiServer.Core.Html.StringParsing
Assembly: EPiServer.dll
Version: 12.0.3
Syntax
public interface IFragmentAttributeHandler

Methods

ParseAttribute(FragmentParserContext, ElementFragment, AttributeFragment)

Parses the attribute of a fragment into a string fragment.

Declaration
bool ParseAttribute(FragmentParserContext context, ElementFragment parentFragment, AttributeFragment attribute)
Parameters
Type Name Description
FragmentParserContext context

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

ElementFragment parentFragment

The element fragment containing the attribute.

AttributeFragment attribute

The attribute that should be parsed.

Returns
Type Description
System.Boolean

true if the attribute was handled, otherwise false.

Extension Methods