KlassenDLL im Main integriert

This commit is contained in:
HuskyTeufel
2022-04-20 14:59:34 +02:00
parent 70ec1019cd
commit d2537d1a75
122 changed files with 16199 additions and 1165 deletions

View File

@@ -0,0 +1,25 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using SanShared;
namespace CSVParser
{
public static class CsvParserFactory
{
public static IReadCSVData ReadCSVFile(AcceptedCSVFormats csvFormat, string csvFile)
{
switch (csvFormat)
{
case AcceptedCSVFormats.UVRELINING:
return new UVRelining(csvFile);
case AcceptedCSVFormats.BLUELIGHT:
return new BlueLight(csvFile);
default:
throw new ArgumentOutOfRangeException(nameof(csvFormat));
}
}
}
}