LootDumpProcessor/Serializers/Yaml/YamlSerializerFactory.cs
chomp 6e4c7abf73 dump-processor-cleanup (#6)
Co-authored-by: Alex <alex@dm-me-for-questions.com>
Reviewed-on: SPT-AKI/LootDumpProcessor#6
2024-04-16 18:29:40 +00:00

16 lines
334 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;
}
}