Inheritance: IVisitor
Example #1
0
        public static string Visit(INode node, NodeBuilder nodeBuilder)
        {
            var visitor = new XmlVisitor(nodeBuilder);

            node.Accept(visitor);
            return(visitor._builder.ToString());
        }
Example #2
0
 public static string Visit(INode node)
 {
     var visitor = new XmlVisitor();
     node.Accept(visitor);
     return visitor._builder.ToString();
 }