Projekteinstellungen erweitert
This commit is contained in:
25
WWTech_KanalSchnittstelle/Exporter/ExporterFactory.cs
Normal file
25
WWTech_KanalSchnittstelle/Exporter/ExporterFactory.cs
Normal file
@@ -0,0 +1,25 @@
|
||||
using SewerStammGen.Shared.Domain;
|
||||
using SewerStammGen.Shared.Enum;
|
||||
using Shared.Contracts;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using WWTech_KanalSchnittstelle.Exporter.Kandis;
|
||||
|
||||
namespace WWTech_KanalSchnittstelle.Exporter
|
||||
{
|
||||
|
||||
public static class ExporterFactory
|
||||
{
|
||||
public static IExport Export(EExportType exportType)
|
||||
{
|
||||
switch(exportType)
|
||||
{
|
||||
case EExportType.KANDIS6: return new KANDIS60();
|
||||
default: throw new NotImplementedException();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user