public Stack <DummyBase> DummyStack() { Stack <DummyBase> stack = new Stack <DummyBase>(); stack.Push(new DummyDispose()); stack.Push(DummyBase.Create()); stack.Push(TestDispose.Create()); return(stack); }
public override bool Equals(Object obj) { DummyBase db = obj as DummyBase; if (null == db) { return(false); } return(mValue == db.mValue); }