Example #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);
        }
Example #2
0
        public override bool Equals(Object obj)
        {
            DummyBase db = obj as DummyBase;

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