public TaskWorker(string name, TaskDistributor taskDistributor) : base(name, false) { this.TaskDistributor = taskDistributor; this.Dispatcher = new Dispatcher(false); }