using LANCommander.Server.ImportExport.Models; namespace LANCommander.Server.ImportExport.Exporters; /// /// Implementations should be able to process a single record. This will be called /// by the import service to process records in its queue. Only one instance of /// this needs to exist for each type. /// /// public interface IExporter { void UseContext(ExportContext context); Task GetExportInfoAsync(TEntity record); bool CanExport(TRecord record); Task ExportAsync(Guid id); }