Example #1
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);
        }