private static string ReportToString(Type reportType, List <PackageUpdateSet> rows) { using (var output = new TestReportWriter()) { var reporter = MakeInstance(reportType, output); reporter.Write("test", rows); return(output.Data()); } }
private static string ReportToString(List <PackageUpdateSet> rows) { var output = new TestReportWriter(); var reporter = new CsvReportFormat(output); reporter.Write("test", rows); return(output.Data()); }