private void UnRegisterTask(TimingTask task) { lock (this.locker) { this.taskList.Remove(task); } }
private void RegisterTask(TimingTask task) { lock (this.locker) { this.taskList.Add(task); } }