LootDumpProcessor/Serializers/Yaml/YamlSerializerFactory.cs
2023-08-12 19:08:38 +01:00

16 lines
337 B
C#

namespace LootDumpProcessor.Serializers.Yaml;
public static class YamlSerializerFactory
{
private static IYamlSerializer? _instance;
public static IYamlSerializer GetInstance()
{
if (_instance == null)
{
_instance = new YamlDotNetYamlSerializer();
}
return _instance;
}
}