public CryptowatchApiClient( IRequestRouter router, IAssetsClient assetsClient, IPairsClient pairsClient, IExchangesClient exchangesClient, IMarketsClient marketsClient, IAggregatesClient aggregatesClient) { _router = router; Assets = assetsClient; Pairs = pairsClient; Exchanges = exchangesClient; Markets = marketsClient; Aggregates = aggregatesClient; }
public CoingeckoImporter( ILoggerFactory loggerFactory, ICoinDataTableStorage coinDataTableStorage, IRatingDataTableStorage ratingDataTableStorage, ICoinsClient coinGeckoClient, IExchangesClient exchangesGeckoClient, IMapper mapper) { this.log = loggerFactory.CreateLogger(Constants.FUNCTION_LOG_KEY); this.coinDataTableStorage = coinDataTableStorage; this.ratingDataTableStorage = ratingDataTableStorage; this.coinGeckoClient = coinGeckoClient; this.exchangesGeckoClient = exchangesGeckoClient; this.mapper = mapper; }
public ExchangesClientTests() { _exchangesClient = ServiceProvider.GetRequiredService <IExchangesClient>(); }