Try our conversational search powered by Generative AI!

Interface ILinkAttributeMatch

Defines signature for deciding wheter a element attribute can contain a link.

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

Methods

IsLinkAttribute(ElementFragment, AttributeFragment)

Determines whether specified attribute on specified element can contain a link.

Declaration
bool IsLinkAttribute(ElementFragment elementFragment, AttributeFragment attributeFragment)
Parameters
Type Name Description
ElementFragment elementFragment

The element fragment.

AttributeFragment attributeFragment

The attribute fragment.

Returns
Type Description
System.Boolean

true if specified attribute can contain a link; otherwise, false.

Extension Methods