Inheritance: XmlObjectNode, IBrick
        public bool Equals(XmlBrick b)
        {
            XElement XElementThis = this.CreateXml();
            XElement XElementB    = b.CreateXml();

            return(XElementThis.ToString() == XElementB.ToString());
        }
示例#2
0
        public bool Equals(XmlBrick b)
        {
            XElement XElementThis = this.CreateXml();
            XElement XElementB = b.CreateXml();

            return (XElementThis.ToString() == XElementB.ToString());            
        }
        public override bool Equals(System.Object obj)
        {
            XmlBrick b = obj as XmlBrick;

            if ((object)b == null)
            {
                return(false);
            }

            return(base.Equals(b));
        }