Esempio n. 1
0
 public void UndoMany( Command c )
 {
     while( _redoBuffer.Count == 0 || _redoBuffer.Peek( ) != c )
     {
         Undo( ) ;
     }
 }
Esempio n. 2
0
 public void RedoMany( Command command )
 {
     while( _undoBuffer.Count == 0 || _undoBuffer.Peek( ) != command )
     {
         Redo( ) ;
     }
 }