chomp
6e4c7abf73
Co-authored-by: Alex <alex@dm-me-for-questions.com> Reviewed-on: SPT-AKI/LootDumpProcessor#6
16 lines
334 B
C#
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;
|
|
}
|
|
} |