/// <summary> /// Instantiates a new instance of the <see cref="ExGatherTagLogger"/> class. /// </summary> public BeforeGatherGpRegenStrategyLogger(Logger logger, IGathererLogger gathererLogger, IGpRegeneratorLogger gpRegeneratorLogger, ICordialConsumerLogger cordialConsumerLogger, IStatusLogger statusLogger) { if (logger == null) { throw new ArgumentNullException("logger"); } if (gathererLogger == null) { throw new ArgumentNullException("gathererLogger"); } if (gpRegeneratorLogger == null) { throw new ArgumentNullException("gpRegeneratorLogger"); } if (cordialConsumerLogger == null) { throw new ArgumentNullException("cordialConsumerLogger"); } if (statusLogger == null) { throw new ArgumentNullException("statusLogger"); } this.logger = logger; this.gathererLogger = gathererLogger; this.gpRegeneratorLogger = gpRegeneratorLogger; this.cordialConsumerLogger = cordialConsumerLogger; this.statusLogger = statusLogger; }
/// <summary> /// Instantiates a new instance of <see cref="AfterGatherGpRegenStrategy"/> class. /// </summary> public AfterGatherGpRegenStrategy(CordialStockManager cordialStock, ICordialConsumerLogger cordialConsumerLogger) { if (cordialStock == null) { throw new ArgumentNullException("cordialStock"); } if (cordialConsumerLogger == null) { throw new ArgumentNullException("cordialConsumerLogger"); } this.cordialStock = cordialStock; this.logger = cordialConsumerLogger; }