Пример #1
0
        public override bool MoveTo(XPathNavigator other)
        {
            XNodeNavigator nav = other as XNodeNavigator;

            if (nav == null || nav.node.Document != node.Document)
            {
                return(false);
            }
            node = nav.node;
            attr = nav.attr;
            return(true);
        }
Пример #2
0
 public XNodeNavigator(XNodeNavigator other)
 {
     this.node       = other.node;
     this.attr       = other.attr;
     this.name_table = other.name_table;
 }