public PriceCheckCommands(IMiraiexAPIService miraiexService, EmbedService embedService, ICoinGeckoAPIService coinGeckoAPI, INBXAPIService nBXAPIService, IOptions <ExchangesConfiguration> options) { _miraiexService = miraiexService; _embedService = embedService; _coinGeckoAPI = coinGeckoAPI; _nBXAPIService = nBXAPIService; _options = options.Value; }
public TickerCheckCommands(IMiraiexAPIService miraiexService, EmbedService embedService, INBXAPIService nBXAPIService, IBitmyntAPIService bitmyntAPIService, IOptions <ExchangesConfiguration> options) { _miraiexService = miraiexService; _embedService = embedService; _nBXAPIService = nBXAPIService; _bitmyntAPIService = bitmyntAPIService; _options = options.Value; }
public MiraiexAPIService(IOptions <ExchangesConfiguration> exchnagesConfiguration, HttpResponseService httpResponseService) { _exchnagesConfiguration = exchnagesConfiguration.Value; _httpResponseService = httpResponseService; if (string.IsNullOrEmpty(_exchnagesConfiguration.MiraiexAPIUri)) { throw new ArgumentNullException(nameof(_exchnagesConfiguration.MiraiexAPIUri)); } }
public BitmyntAPIService(IOptions <ExchangesConfiguration> exchnagesConfiguration, HttpResponseService httpResponseService) { _exchnagesConfiguration = exchnagesConfiguration.Value; _httpResponseService = httpResponseService; }