initial refactor of device export so it can be reused for future exporting
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user