Inheritance: XmlBrick, IComeToFrontBrick
Example #1
0
        public override bool Equals(System.Object obj)
        {
            XmlComeToFrontBrick b = obj as XmlComeToFrontBrick;

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

            return(this.Equals(b));
        }
        public void XmlComeToFrontBrickTest()
        {
            TextReader sr = new StringReader("<brick type=\"ComeToFrontBrick\"/>");
            var xRoot = XElement.Load(sr);

            var testObject = new XmlComeToFrontBrick(xRoot);

            var referenceObject = new XmlComeToFrontBrick(xRoot);

            Assert.AreEqual(referenceObject, testObject);
        }
Example #3
0
 public bool Equals(XmlComeToFrontBrick b)
 {
     return(this.Equals((XmlBrick)b));
 }
 public bool Equals(XmlComeToFrontBrick b)
 {
     return this.Equals((XmlBrick)b);
 }