LootDumpProcessor/Storage/Implementations/File/Serializers/DataStorageFileSerializerFactory.cs
2023-08-12 19:08:38 +01:00

17 lines
501 B
C#

namespace LootDumpProcessor.Storage.Implementations.Serializers;
public static class DataStorageFileSerializerFactory
{
private static IDataStorageFileSerializer _dataStorageFileSerializer;
public static IDataStorageFileSerializer GetInstance()
{
// TODO: implement real factory
if (_dataStorageFileSerializer == null)
{
_dataStorageFileSerializer = new JsonDataStorageFileSerializer();
}
return _dataStorageFileSerializer;
}
}