AngleSharp by AngleSharp

<PackageReference Include="AngleSharp" Version="1.1.0" />

 StructAttributes

public struct StructAttributes
Struct to hold attributes.
public int Count { get; }

Gets the number of attributes.

public MemoryHtmlAttributeToken this[int id] { get; set; }

Gets or sets the attribute at the given index.

public void Add(MemoryHtmlAttributeToken item)

Adds an attribute to the list.

public bool HasAttribute(StringOrMemory name, StringOrMemory value)

Checks if the attribute list contains the given attribute.

public void RemoveAt(int index)

Removes the attribute at the given index.