public DataUpdateService( ILogger <DataUpdateService> log, BlockIndexService blockIndexService, TickerService tickerService, WeightService weightService, IMemoryCache memoryCache, IOptions <ExplorerSettings> settings) { this.log = log; this.tickerService = tickerService; this.weightService = weightService; this.blockIndexService = blockIndexService; this.memoryCache = memoryCache; this.settings = settings.Value; }
public DataUpdateService( ILogger <DataUpdateService> log, BlockIndexService blockIndexService, TickerService tickerService, WeightService weightService, IMemoryCache memoryCache, IOptions <ExplorerSettings> settings, IOptions <ChainSettings> chainSettings) { this.log = log; this.tickerService = tickerService; this.weightService = weightService; this.blockIndexService = blockIndexService; this.memoryCache = memoryCache; this.settings = settings.Value; this.log.LogInformation($"CHAIN SYMBOL: {chainSettings.Value.Symbol}"); }