private bool CheckTask(TicksManagerTask taskType) { if (_currentTask != null && _currentTask.Task == taskType) { return(true); } for (int i = 0; i < _taskList.Count; i++) { if (_taskList[i].Task == taskType) { return(true); } } return(false); }
public TicksManagerProcessEventArgs(TicksManagerTask task, int total, int current) : base(task) { _total = total; _current = current; }
public TicksManagerTaskEventArgs(TicksManagerTask task) : base() { _task = task; }
public AbstractTask(TicksManagerTask taskType, int priority) { _taskType = taskType; _priority = priority; }
public TaskUpdateTicks(Tick[] ticks, TicksManagerTask task, int priority) : base(task, priority) { _ticks = ticks; }