public WorkerTask(TaskSettings taskSettings) { Status = TaskStatus.InQueue; Info = new TaskInfo(taskSettings); }
public static WorkerTask CreateTask(TaskSettings ts) { WorkerTask task = new WorkerTask(ts); return(task); }