A critical vulnerability was discovered in React Server Components (Next.js). Our systems remain protected but we advise to update packages to newest version. Learn More

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