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; }
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; }
internal abstract bool StartEndMatch(XmlTreeItem candidate);