namespace SabreTools.Serialization.Readers
{
///
/// Defines how to read from files
///
public interface IFileReader
{
///
/// Enable outputting debug information
///
public bool Debug { get; set; }
///
/// Deserialize a file into
///
/// Type of object to deserialize to
/// Path to deserialize from
/// Filled object on success, null on error
public TModel? Deserialize(string? path);
}
}