Class LinkAttributeMatcher

Default implementation of ILinkAttributeMatch

Inheritance
System.Object
LinkAttributeMatcher
Implements
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: EPiServer.Core.Html.StringParsing
Assembly: EPiServer.dll
Version: 8.11.0
Syntax
[ServiceConfiguration(typeof(ILinkAttributeMatch))]
public class LinkAttributeMatcher : ILinkAttributeMatch

Constructors

LinkAttributeMatcher()

Declaration
public LinkAttributeMatcher()

Methods

IsLinkAttribute(ElementFragment, AttributeFragment)

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

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

Implements

Extension Methods