public OpenExchangeHealthCheck( IOpenExchangeProxy openExchangeProxy, ILogger <OpenExchangeHealthCheck> logger) { this.openExchangeProxy = openExchangeProxy; this.logger = logger; }
public OpenExchangeRatesProvider( IOpenExchangeProxy proxy, ISystemClock clock, IOptions <OpenExchangeProviderOptions> opts, ILogger <OpenExchangeRatesProvider> logger) { this.proxy = proxy; this.clock = clock; this.logger = logger; Priority = opts.Value.Priority; Name = opts.Value.Name; currencies = opts.Value.Currencies; }