public AddressRefresherJob(ILoggerFactory loggerFactory, IOptions <AddressRefresherSettings> settings, IHybridCacheClient cacheClient, IAddressRepository addressRepository, IWeb3 web3) : base(loggerFactory) { _settings = settings.Value; _addressRepository = addressRepository; _statsCache = new ScopedHybridCacheClient(cacheClient, CacheScopes.Stats); _web3 = web3; }
public Handler(IAddressRepository addressRepository, IAddressMetaRepository addressMetaRepository, IHybridCacheClient cacheClient, IOptions <Settings> options) { _addressRepository = addressRepository; _addressMetaRepository = addressMetaRepository; _statsCache = new ScopedHybridCacheClient(cacheClient, CacheScopes.Stats); _settings = options.Value; }
public Handler(IHybridCacheClient cacheClient) { _statsCache = new ScopedHybridCacheClient(cacheClient, CacheScopes.Stats); }
public Handler(IPromotionRepository promotionRepository, IHybridCacheClient cacheClient) { _promotionRepository = promotionRepository; _statsCache = new ScopedHybridCacheClient(cacheClient, CacheScopes.Stats); }
public ScopedHybridCacheClient(IHybridCacheClient client, string scope = null) : base(client, scope) { }
public NetInfoJob(IQueue <NetInfoWorkItem> queue, ILoggerFactory loggerFactory, INetInfoService netInfoService, IHybridCacheClient cacheClient) : base(queue, loggerFactory) { _netInfoService = netInfoService; _statsCache = new ScopedHybridCacheClient(cacheClient, CacheScopes.Stats); }
public GuildOptionsManager(IHybridCacheClient hybridCacheClient, IServiceProvider provider) { _hybridCacheClient = hybridCacheClient; _provider = provider; }
public CirculatingSupplyJob(ILoggerFactory loggerFactory, IHybridCacheClient cacheClient, IAddressRepository addressRepository) : base(loggerFactory) { _addressRepository = addressRepository; _statsCache = new ScopedHybridCacheClient(cacheClient, CacheScopes.Stats); }
public PriceJob(ILoggerFactory loggerFactory, ICoinGeckoApi api, IHybridCacheClient cacheClient) : base(loggerFactory) { _api = api; _statsCache = new ScopedHybridCacheClient(cacheClient, CacheScopes.Stats); }