示例#1
0
        protected virtual void VisitComment(DomComment comment)
        {
            if (comment == null)
            {
                throw new ArgumentNullException(nameof(comment));
            }

            DefaultVisit(comment);
        }
示例#2
0
        protected virtual void WriteComment(DomComment comment)
        {
            if (comment == null)
            {
                throw new ArgumentNullException(nameof(comment));
            }

            WriteComment(comment.Data);
        }
示例#3
0
 void IDomNodeVisitor.Visit(DomComment comment)
 {
     VisitComment(comment);
 }
示例#4
0
 void IDomNodeVisitor.Visit(DomComment comment)
 {
     WriteComment(comment);
 }