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); }
public void CleanUp(IEnumerable <ICommand> ExecutedCommands) { stack.CleanUp(ExecutedCommands); RaiseOperationExecuted(null, ExecutionOperation.Cleanup); }