public ProcessorService(IGeneratorManager generatorManager, IMultiplierManager multiplierManager, IBatchRepository batchRepository, ILogger <ProcessorService> logger) { _generatorManager = generatorManager; _multiplierManager = multiplierManager; _batchRepository = batchRepository; _logger = logger; _generatorManager.GeneratorEventHandler += GeneratorCallback; _multiplierManager.MultiplierEventHandler += MultiplierCallback; }
public BatchNumbersMultiplyHandler(IMultiplierManager multiplierManager) { this.multiplierManager = multiplierManager; }