Files
ChanSort/source/ChanSort.Api/Controller/ISerializerPlugin.cs

22 lines
632 B
C#
Raw Normal View History

2013-03-31 14:09:38 +02:00
namespace ChanSort.Api
{
public interface ISerializerPlugin
{
/// <summary>
/// Name of the plugin, as displayed in the OpenFileDialog file-type selection combo box
/// </summary>
string PluginName { get; }
/// <summary>
/// Semicolon separated list of supported file types (e.g. "xxLM*.TTL;xxLV*.TTL")
/// </summary>
string FileFilter { get; }
/// <summary>
/// Create an object that can read/write the file
/// </summary>
/// <exception cref="System.IO.IOException">file is not of any supported type</exception>
SerializerBase CreateSerializer(string inputFile);
}
}