Пример #1
0
 public WorkerTask(TaskSettings taskSettings)
 {
     Status = TaskStatus.InQueue;
     Info   = new TaskInfo(taskSettings);
 }
Пример #2
0
        public static WorkerTask CreateTask(TaskSettings ts)
        {
            WorkerTask task = new WorkerTask(ts);

            return(task);
        }