Notation
Represents a notation node.
using AngleSharp.Attributes;
using System.Runtime.CompilerServices;
namespace AngleSharp.Dom
{
[System.Runtime.CompilerServices.NullableContext(2)]
[System.Runtime.CompilerServices.Nullable(0)]
[DomName("Notation")]
public sealed class Notation : Node
{
[DomName("publicId")]
public string PublicId { get; set; }
[DomName("systemId")]
public string SystemId { get; set; }
[System.Runtime.CompilerServices.NullableContext(1)]
public Notation(Document owner, string name)
: base(owner, name, NodeType.Notation, NodeFlags.None)
{
}
[System.Runtime.CompilerServices.NullableContext(1)]
public override Node Clone(Document newOwner, bool deep)
{
Notation notation = new Notation(newOwner, base.NodeName);
CloneNode(notation, newOwner, deep);
return notation;
}
}
}