Пример #1
0
 /// <summary>
 /// Ctor for Task
 /// </summary>
 /// <param name="task">Task </param>
 public Task(ScheduleTask task)
 {
     this.Type = task.Type;
     this.Enabled = task.Enabled;
     this.StopOnError = task.StopOnError;
     this.Name = task.Name;
 }
Пример #2
0
 internal TaskThread(ScheduleTask scheduleTask)
 {
     this._tasks = new Dictionary<string, Task>();
     this._seconds = scheduleTask.Seconds;
     this._isRunning = false;
 }