Table of Contents

Class AttrExtensions

Namespace
AngleSharp.Dom
Assembly
AngleSharp.dll

Extensions for the list of attributes.

public static class AttrExtensions
Inheritance
AttrExtensions
Inherited Members

Methods

Clear(INamedNodeMap)

Clears the given attribute collection.

public static INamedNodeMap Clear(this INamedNodeMap attributes)

Parameters

attributes INamedNodeMap

The collection to clear.

Returns

INamedNodeMap

The collection itself.

SameAs(INamedNodeMap, INamedNodeMap)

Compares another attribute container to the current container.

public static bool SameAs(this INamedNodeMap sourceAttributes, INamedNodeMap targetAttributes)

Parameters

sourceAttributes INamedNodeMap

The original attribute list.

targetAttributes INamedNodeMap

The list to compare to.

Returns

bool

True if both objects are equal, otherwise false.