Ejemplo n.º 1
0
        public override Boolean Equals(INode otherNode)
        {
            var otherElement = otherNode as IElement;

            if (otherElement != null)
            {
                return(String.Equals(NamespaceUri, otherElement.NamespaceUri, StringComparison.Ordinal) &&
                       _attributes.AreEqual(otherElement.Attributes) &&
                       base.Equals(otherNode));
            }

            return(false);
        }
Ejemplo n.º 2
0
        public override Boolean Equals(INode otherNode)
        {
            var otherElement = otherNode as IElement;

            if (otherElement != null)
            {
                return(NamespaceUri.Is(otherElement.NamespaceUri) &&
                       _attributes.AreEqual(otherElement.Attributes) &&
                       base.Equals(otherNode));
            }

            return(false);
        }