예제 #1
0
        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;
        }
예제 #2
0
 public void Setup(Data.Project project, Parser.Scanner scanner)
 {
     _project      = project;
     _scanner      = scanner;
     _analytics    = Parser.Analytics.Analyze(_project);
     _include_data = new IncludeData(_analytics);
 }
예제 #3
0
 public Report(Data.Project project, Analytics analytics)
 {
     _project   = project;
     _analytics = analytics;
 }
예제 #4
0
 public IncludeData(Parser.Analytics a)
 {
     _analytics = a;
 }