Example #1
0
 private void PrepareStackToPerformUndo()
 {
     addedObject = new TestObject();
     stack.AddItem(addedObject);
 }
Example #2
0
 private void PrepareStackWithItemToPerformRedo()
 {
     undoneObject = new TestObject();
     stack.AddItem(undoneObject);
     stack.Undo(); // So we now should have it in the redo list
 }