public XdmNodeNavigator(XdmNodeNavigator other) { if (other == null) throw new ArgumentNullException("other"); this.currentNode = other.currentNode; this.nameTable = other.nameTable; }
public XdmNodeNavigator(XdmNodeNavigator other) { if (other == null) { throw new ArgumentNullException("other"); } this.currentNode = other.currentNode; this.nameTable = other.nameTable; }
public override bool IsSamePosition(XPathNavigator other) { XdmNodeNavigator navigator = other as XdmNodeNavigator; if (navigator == null) { return(false); } return(navigator.currentNode.Equals(this.currentNode)); }
public override bool MoveTo(XPathNavigator other) { XdmNodeNavigator navigator = other as XdmNodeNavigator; if ((navigator != null) && navigator.currentNode.Root.Equals(this.currentNode.Root)) { this.currentNode = navigator.currentNode; this.currentSequence = null; return(true); } return(false); }