INamedNodeMap
NamedNodeNap is a key/value pair of nodes that can be accessed by
numeric or string index.
https://dom.spec.whatwg.org/#interface-namednodemap
using AngleSharp.Attributes;
using System.Collections;
using System.Collections.Generic;
namespace AngleSharp.Dom
{
[DomName("NamedNodeMap")]
public interface INamedNodeMap : IEnumerable<IAttr>, IEnumerable
{
[DomName("item")]
[DomAccessor(Accessors.Getter)]
IAttr this[int index] { get; }
[DomAccessor(Accessors.Getter)]
IAttr this[string name] { get; }
[DomName("length")]
int Length { get; }
[DomName("getNamedItem")]
IAttr GetNamedItem(string name);
[DomName("setNamedItem")]
IAttr SetNamedItem(IAttr item);
[DomName("removeNamedItem")]
IAttr RemoveNamedItem(string name);
[DomName("getNamedItemNS")]
IAttr GetNamedItem(string namespaceUri, string localName);
[DomName("setNamedItemNS")]
IAttr SetNamedItemWithNamespaceUri(IAttr item);
[DomName("removeNamedItemNS")]
IAttr RemoveNamedItem(string namespaceUri, string localName);
}
}