public EventProducer(DbStatusObject dbStatusObj, string dbPath) { queueManager = new NotificationQueue(); worker = new EventProcessor(queueManager, dbStatusObj, dbPath); eventWatcher = new EventWatcherAsync(queueManager, dbStatusObj); }
public EventProducer() { queue = new NotificationQueue(); worker = new EventProcessor(queue); eventWatcher = new EventWatcherAsync(queue); }