Inheritance: System.Xml.XPath.XPathNavigator, IHasXmlNode
        public override XmlNodeOrder ComparePosition(XPathNavigator nav)
        {
            XmlDocumentEditableNavigator xmlDocumentEditableNavigator = nav as XmlDocumentEditableNavigator;

            if (xmlDocumentEditableNavigator != null)
            {
                return(this.navigator.ComparePosition(xmlDocumentEditableNavigator.navigator));
            }
            return(this.navigator.ComparePosition(nav));
        }
        public override bool IsDescendant(XPathNavigator nav)
        {
            XmlDocumentEditableNavigator xmlDocumentEditableNavigator = nav as XmlDocumentEditableNavigator;

            if (xmlDocumentEditableNavigator != null)
            {
                return(this.navigator.IsDescendant(xmlDocumentEditableNavigator.navigator));
            }
            return(this.navigator.IsDescendant(nav));
        }
        public override bool MoveTo(XPathNavigator other)
        {
            XmlDocumentEditableNavigator xmlDocumentEditableNavigator = other as XmlDocumentEditableNavigator;

            if (xmlDocumentEditableNavigator != null)
            {
                return(this.navigator.MoveTo(xmlDocumentEditableNavigator.navigator));
            }
            return(this.navigator.MoveTo(xmlDocumentEditableNavigator));
        }
        public override bool IsSamePosition(XPathNavigator other)
        {
            XmlDocumentEditableNavigator xmlDocumentEditableNavigator = other as XmlDocumentEditableNavigator;

            if (xmlDocumentEditableNavigator != null)
            {
                return(this.navigator.IsSamePosition(xmlDocumentEditableNavigator.navigator));
            }
            return(this.navigator.IsSamePosition(xmlDocumentEditableNavigator));
        }
Example #5
0
        public override XmlNodeOrder ComparePosition(XPathNavigator nav)
        {
            XmlDocumentEditableNavigator e = nav as XmlDocumentEditableNavigator;

            if (e != null)
            {
                return(navigator.ComparePosition(e.navigator));
            }
            else
            {
                return(navigator.ComparePosition(nav));
            }
        }
Example #6
0
        public override bool IsDescendant(XPathNavigator nav)
        {
            XmlDocumentEditableNavigator e = nav as XmlDocumentEditableNavigator;

            if (e != null)
            {
                return(navigator.IsDescendant(e.navigator));
            }
            else
            {
                return(navigator.IsDescendant(nav));
            }
        }
Example #7
0
        public override bool MoveTo(XPathNavigator other)
        {
            XmlDocumentEditableNavigator nav = other as XmlDocumentEditableNavigator;

            if (nav != null)
            {
                return(navigator.MoveTo(nav.navigator));
            }
            else
            {
                return(navigator.MoveTo(nav));
            }
        }
Example #8
0
        public override bool IsSamePosition(XPathNavigator other)
        {
            XmlDocumentEditableNavigator nav = other as XmlDocumentEditableNavigator;

            if (nav != null)
            {
                return(navigator.IsSamePosition(nav.navigator));
            }
            else
            {
                return(navigator.IsSamePosition(nav));
            }
        }
Example #9
0
 public XmlDocumentEditableNavigator(XmlDocumentEditableNavigator nav)
 {
     document  = nav.document;
     navigator = nav.navigator.Clone();
 }
Example #10
0
		public XmlDocumentEditableNavigator (XmlDocumentEditableNavigator nav)
		{
			document = nav.document;
			navigator = nav.navigator.Clone ();
		}