/// <summary> /// Called from the view when the view is appearing /// </summary> public void OnAppearing() { if (Options.AutoRun) { // Don't rerun if we navigate back Options.AutoRun = false; RunTestsCommand.Execute(null); } }
private void OnRunTest(object sender, EventArgs <TestMethod> e) { var testItem = SelectTestItem(e.Value); if (RunTestsCommand.CanExecute(testItem)) { RunTestsCommand.Execute(testItem); } }
public SettingsDialogViewModel(Window aWindow) { KernelTypesToRun = new ObservableCollection <Type>(stableKernelTypes); RunTests = new RunTestsCommand(aWindow, this); }