예제 #1
0
        public void CleanUp(IEnumerable <ICommand> ExecutedCommands)
        {
            var undoableCommands = ExecutedCommands
                                   .Where(x => x is UndoableCommandBase)
                                   .Select(x => x as UndoableCommandBase);

            stack.CleanUp(undoableCommands);
            RaiseOperationExecuted(null, CommandOperation.Cleanup);
        }
예제 #2
0
 public void CleanUp(IEnumerable <ICommand> ExecutedCommands)
 {
     stack.CleanUp(ExecutedCommands);
     RaiseOperationExecuted(null, ExecutionOperation.Cleanup);
 }