private bool CanExecute(SpotTileExecutionMode spotTileExecutionMode) { return(ExecutionMode != spotTileExecutionMode); }
private void Execute(SpotTileExecutionMode spotTileExecutionMode) { ExecutionMode = spotTileExecutionMode; RaiseCanExecuteChanged(); }
private DelegateCommand CreateExecutionModeCommand(SpotTileExecutionMode spotTileExecutionMode) { return(new DelegateCommand(() => Execute(spotTileExecutionMode), () => CanExecute(spotTileExecutionMode))); }
private bool CanExecute(SpotTileExecutionMode spotTileExecutionMode) { return ExecutionMode != spotTileExecutionMode; }
private DelegateCommand CreateExecutionModeCommand(SpotTileExecutionMode spotTileExecutionMode) { return new DelegateCommand(() => Execute(spotTileExecutionMode), () => CanExecute(spotTileExecutionMode)); }