private void ChooseFiles(object sender, RoutedEventArgs e) { var dialog = new OpenFileDialog { InitialDirectory = Properties.Settings.Default.InspectionPath, Multiselect = true }; if (dialog.ShowDialog() == true) { FilesToInspectStorer.Store(dialog.FileNames); EvaluateRerunButtons(); ((ViewModel)DataContext).FilesToInspect = string.Join(Environment.NewLine, FilesToInspectEvaluator.Evaluate()); } }
private void ReRunJavaScript(object sender, RoutedEventArgs e) { DoAction(() => JavaScriptMetricsPresenter.View(FilesToInspectEvaluator.Evaluate())); }