initial refactor of device export so it can be reused for future exporting

This commit is contained in:
Gary Sharp
2023-11-11 17:52:24 +11:00
parent 46222f2a78
commit a4f18d1d49
24 changed files with 401 additions and 324 deletions
@@ -0,0 +1,19 @@
using Disco.Models.Services.Exporting;
using Disco.Services.Tasks;
namespace Disco.Services.Exporting
{
public class ExportTaskContext<T> where T : IExportOptions
{
public T Options { get; private set; }
public ScheduledTaskStatus TaskStatus { get; set; }
public ExportResult Result { get; set; }
public ExportTaskContext(T Options)
{
this.Options = Options;
}
}
}