public void NotifyInitialStates() { events .OnCanExecute(false) .OnIsRunning(false) .OnHasErrors(true, reason); }
public void NotifyInitialStates() { events .OnCanExecute(planExecutionHelper.CanExecute(backupPlan)) .OnHasErrors(false) .OnIsRunning(false) .OnStatusText("Not run yet"); }