public RedcacheLoggerServiceTests() { _redcache = Substitute.For <IRedcache>(); _logger = Substitute.For <MockLogger>(); _options = Substitute.For <IOptions <LoggingOptions> >(); _options.Value.Returns(new LoggingOptions()); _redfishLogger = new RedfishLogger(_logger, _options); _redcacheDecorator = new RedcacheLoggerService(_redcache, _redfishLogger); }
public RedcacheLoggerService(IRedcache redcache, IRedfishLogger logger) { _redqueue = redcache; _logger = logger; }
public WeatherForecastController(IRedcache redcache, IRedqueue redqueue) { _redcache = redcache; _redqueue = redqueue; }