protected virtual void VisitComment(DomComment comment) { if (comment == null) { throw new ArgumentNullException(nameof(comment)); } DefaultVisit(comment); }
protected virtual void WriteComment(DomComment comment) { if (comment == null) { throw new ArgumentNullException(nameof(comment)); } WriteComment(comment.Data); }
void IDomNodeVisitor.Visit(DomComment comment) { VisitComment(comment); }
void IDomNodeVisitor.Visit(DomComment comment) { WriteComment(comment); }