示例#1
0
        private object CheckDerivedCopy(CloneBase oriObject)
        {
            object cpyObject = oriObject.Clone();

            Assert.AreNotSame(cpyObject, oriObject);
            Assert.AreEqual(cpyObject, oriObject);

            return(cpyObject);
        }
示例#2
0
        private object CheckDerivedCopy(CloneBase oriObject)
        {
            object cpyObject = oriObject.Clone();

            Assert.AreNotSame(cpyObject,oriObject);
            Assert.AreEqual(cpyObject,oriObject);

            return cpyObject;
        }