Ejemplo n.º 1
0
        protected virtual void VisitDocumentFragment(DomDocumentFragment fragment)
        {
            if (fragment == null)
            {
                throw new ArgumentNullException(nameof(fragment));
            }

            DefaultVisit(fragment);
        }
Ejemplo n.º 2
0
        protected virtual void WriteDocumentFragment(DomDocumentFragment fragment)
        {
            if (fragment == null)
            {
                throw new ArgumentNullException(nameof(fragment));
            }

            Visit(fragment.ChildNodes);
        }
Ejemplo n.º 3
0
 void IDomNodeVisitor.Visit(DomDocumentFragment fragment)
 {
     VisitDocumentFragment(fragment);
 }