AngleSharp by AngleSharp

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

.NET API 837,632 bytes

 ProcessingInstruction

Represents a processing instruction node.
using System.IO; namespace AngleSharp.Dom { internal sealed class ProcessingInstruction : CharacterData, IProcessingInstruction, ICharacterData, INode, IEventTarget, IMarkupFormattable, IChildNode, INonDocumentTypeChildNode { public string Target => base.NodeName; internal ProcessingInstruction(Document owner, string name) : base(owner, name, NodeType.ProcessingInstruction) { } public override void ToHtml(TextWriter writer, IMarkupFormatter formatter) { writer.Write(formatter.Processing(this)); } internal override Node Clone(Document owner, bool deep) { ProcessingInstruction processingInstruction = new ProcessingInstruction(owner, Target); CloneNode(processingInstruction, owner, deep); return processingInstruction; } } }