private void Setup(Data.Project project, Parser.Scanner scanner) { _project = project; _scanner = scanner; _analytics = Parser.Analytics.Analyze(_project); errorsListView.Items.Clear(); foreach (string s in scanner.Errors) { errorsListView.Items.Add(s); } missingFilesListView.Items.Clear(); foreach (string s in scanner.NotFound.OrderBy(s => s)) { missingFilesListView.Items.Add(s); } string file = Parser.Report.Generate(_project, _analytics); if (reportBrowser.Url != null) { reportBrowser.Refresh(); } else { reportBrowser.Navigate(file); } reportBrowser.Navigating += reportBrowser_Navigating; }
public void Setup(Data.Project project, Parser.Scanner scanner) { _project = project; _scanner = scanner; _analytics = Parser.Analytics.Analyze(_project); _include_data = new IncludeData(_analytics); }
public Report(Data.Project project, Analytics analytics) { _project = project; _analytics = analytics; }
public IncludeData(Parser.Analytics a) { _analytics = a; }