public static void GenerateReport(Analyzer analyzer, ref DataGrid ReportDataGrid)
        {
            var table = CreateReportTable(analyzer);

            ReportDataGrid.ItemsSource = table.DefaultView;  // datagrid report


            if (ConfigurationManager.AppSettings["alwaysGeneratePDFReports"].Equals("true"))
            {
                PdfGenerator.GeneratePdfReport(analyzer.GetPageTitle(), analyzer.GetPageUrl(), analyzer);  // pdf report
                UpdateLastReportPath(analyzer);
            }
        }
 public static void GenerateReport(Analyzer analyzer)
 {
     PdfGenerator.GeneratePdfReport(analyzer.GetPageTitle(), analyzer.GetPageUrl(), analyzer);  // pdf report
     UpdateLastReportPath(analyzer);
 }