Ejemplo n.º 1
0
 public CommandPool(int maxCommandCount)
 {
     toRedoStack          = new Stack <ICommand>();
     toUndoDeque          = new Deque <ICommand>(maxCommandCount);
     this.maxCommandCount = maxCommandCount;
 }
Ejemplo n.º 2
0
 public CommandPool()
 {
     toRedoStack          = new Stack <ICommand>();
     toUndoDeque          = new Deque <ICommand>();
     this.maxCommandCount = 1;
 }