예제 #1
0
        internal override bool StartEndMatch(XmlTreeItem candidate)
        {
            XmlElementItem other = candidate as XmlElementItem;

            if (null == other) { return false; }
            if (other.Name != this.Name) { return false; }
            if (other.Namespace != this.Namespace) { return false; }
            return true;
        }
예제 #2
0
        internal override bool StartEndMatch(XmlTreeItem candidate)
        {
            XmlNamespaceItem other = candidate as XmlNamespaceItem;

            if (null == other) { return false; }
            if (other.Prefix != this.Prefix) { return false; }
            if (other.Uri != this.Uri) { return false; }
            return true;
        }
예제 #3
0
 internal abstract bool StartEndMatch(XmlTreeItem candidate);