Separate reports similar to DatFiles for SV

This commit is contained in:
Matt Nadareski
2024-10-30 13:39:31 -04:00
parent 895c79b1b3
commit 3a76060aed
2 changed files with 53 additions and 9 deletions

View File

@@ -42,10 +42,10 @@ namespace SabreTools.Reports
{
StatReportFormat.None => new Textfile(statsList, true),
StatReportFormat.Textfile => new Textfile(statsList, false),
StatReportFormat.CSV => new SeparatedValue(statsList, ','),
StatReportFormat.CSV => new CommaSeparatedValue(statsList),
StatReportFormat.HTML => new Html(statsList),
StatReportFormat.SSV => new SeparatedValue(statsList, ';'),
StatReportFormat.TSV => new SeparatedValue(statsList, '\t'),
StatReportFormat.SSV => new SemicolonSeparatedValue(statsList),
StatReportFormat.TSV => new TabSeparatedValue(statsList),
_ => null,
};
}