public TaskClient(TaskQueue taskQueue) { TaskQueue = taskQueue; TaskScheduler = new TaskScheduler(TaskQueue); IsCanceled = false; }
public TaskScheduler(TaskQueue taskQueue) { _taskQueue = taskQueue; _scheduledTasks = new Dictionary <string, TaskSchedule>(); }
public TaskScheduler(TaskQueue taskQueue, TimeSpan?updateFrequency = null) { _taskQueue = taskQueue; _promotionFrequency = updateFrequency ?? TimeSpan.FromMilliseconds(100); }