public DelegatedWorker(WorkItemConsumer workItemConsumer, SynchronizedList <TWorkItem> workItems) : base(workItems) { OnConsumeWorkItem = workItemConsumer; }
public Worker(SynchronizedList <TWorkItem> workItems) : base(workItems.NotifyEvent) { WorkItems = workItems; }