示例#1
0
        public Stack <DummyBase> DummyStack()
        {
            Stack <DummyBase> stack = new Stack <DummyBase>();

            stack.Push(new DummyDispose());
            stack.Push(DummyBase.Create());
            stack.Push(TestDispose.Create());
            return(stack);
        }
示例#2
0
        public override bool Equals(Object obj)
        {
            DummyBase db = obj as DummyBase;

            if (null == db)
            {
                return(false);
            }
            return(mValue == db.mValue);
        }