protected virtual void VisitDocumentFragment(DomDocumentFragment fragment)
        {
            if (fragment == null)
            {
                throw new ArgumentNullException(nameof(fragment));
            }

            DefaultVisit(fragment);
        }
Beispiel #2
0
        protected virtual void WriteDocumentFragment(DomDocumentFragment fragment)
        {
            if (fragment == null)
            {
                throw new ArgumentNullException(nameof(fragment));
            }

            Visit(fragment.ChildNodes);
        }
 void IDomNodeVisitor.Visit(DomDocumentFragment fragment)
 {
     VisitDocumentFragment(fragment);
 }