2023-08-12 19:08:38 +01:00
|
|
|
|
using LootDumpProcessor.Serializers;
|
|
|
|
|
using LootDumpProcessor.Serializers.Yaml;
|
|
|
|
|
|
2024-01-30 14:54:01 +00:00
|
|
|
|
namespace LootDumpProcessor.Storage.Implementations.File.Serializers;
|
2023-08-12 19:08:38 +01:00
|
|
|
|
|
|
|
|
|
public class YamlDataStorageFileSerializer : IDataStorageFileSerializer
|
|
|
|
|
{
|
|
|
|
|
public string GetExtension() => ".yaml";
|
|
|
|
|
|
|
|
|
|
public ISerializer GetSerializer()
|
|
|
|
|
{
|
|
|
|
|
return YamlSerializerFactory.GetInstance();
|
|
|
|
|
}
|
|
|
|
|
}
|