public void Execute(object parameter) { if (!CanExecute(parameter)) throw new InvalidOperationException(); _execute(); }