Пример #1
0
        internal override bool IsSamePosition(XPathItem item)
        {
            var obj = item as PropertyItem;

            return(obj != null && obj.parent == this.parent && obj.property.Equals(this.property));
        }
Пример #2
0
        internal override bool IsSamePosition(XPathItem item)
        {
            var obj = item as ElementItem;

            return(obj != null && obj.element.Equals(this.element));
        }