mirror of
https://github.com/PredatH0r/ChanSort.git
synced 2026-01-17 04:42:05 +01:00
ChlFileSerializer converted to a SerializerBase subclass so it can use the same reference list logic as TV data files
This commit is contained in:
16
source/ChanSort.Loader.RefList/RefSerializerPlugin.cs
Normal file
16
source/ChanSort.Loader.RefList/RefSerializerPlugin.cs
Normal file
@@ -0,0 +1,16 @@
|
||||
using ChanSort.Api;
|
||||
|
||||
namespace ChanSort.Loader.RefList
|
||||
{
|
||||
public class RefSerializerPlugin : ISerializerPlugin
|
||||
{
|
||||
public string PluginName => "ChanSort Reference List";
|
||||
|
||||
public string FileFilter => "*.txt;*.chl";
|
||||
|
||||
public SerializerBase CreateSerializer(string inputFile)
|
||||
{
|
||||
return new RefSerializer(inputFile);
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user