public EnqueueBatchOperationCommandHandler(IWorkerOperationRepository repository, IWorkerManager workerManager) { this.repository = repository; this.workerManager = workerManager; }
public BatchOperationWorker(IWorkerOperationRepository repository, IEnumerable <IWorkerOperationHandler> handlers) { this.repository = repository; this.handlers = handlers; }