AngleSharp by AngleSharp

<PackageReference Include="AngleSharp" Version="0.14.0-alpha-801" />

.NET API 829,440 bytes

 Attr

public sealed class Attr : IAttr, IEquatable<IAttr>
Represents a generic node attribute.
public bool IsId { get; }

Gets if the attribute is an id attribute.

public string LocalName { get; }

Gets the attribute's local name.

public string Name { get; }

Gets the attribute's fully qualified name.

public string NamespaceUri { get; }

Gets the attribute's namespace.

public string Prefix { get; }

Gets the attribute's prefix.

public bool Specified { get; }

Gets if the value is given or not.

public string Value { get; set; }

Gets the attribute's value.

public Attr(string localName)

Creates a new attribute with the given local name.

public Attr(string localName, string value)

Creates a new attribute with the given local name and value.

public Attr(string prefix, string localName, string value, string namespaceUri)

Creates a new attribute with the given properties.

public bool Equals(IAttr other)

Checks if the attribute equals another attribute.