protected virtual void VisitProcessingInstruction(HtmlProcessingInstruction node) { if (node == null) { throw new ArgumentNullException(nameof(node)); } DefaultVisit(node); }
protected override void VisitProcessingInstruction(HtmlProcessingInstruction node) { if (PrettyPrint) { Indent(); } _output .Append("<?") .Append(node.TextContent) .Append("?>"); }
void IHtmlNodeVisitor.Visit(HtmlProcessingInstruction processingInstruction) { VisitProcessingInstruction(processingInstruction); }