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
INamedNodeMapThe 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
INamedNodeMapThe original attribute list.
targetAttributes
INamedNodeMapThe list to compare to.
Returns
- bool
True if both objects are equal, otherwise false.