public Covid19APIService(HttpResponseService httpResponseService, IOptions <CovidAPIConfiguration> covidOptions) { _httpResponseService = httpResponseService; _covidOptions = covidOptions.Value; if (string.IsNullOrEmpty(_covidOptions.Uri)) { throw new ArgumentNullException(nameof(_covidOptions.Uri)); } }
public MiraiexAPIService(IOptions <ExchangesConfiguration> exchnagesConfiguration, HttpResponseService httpResponseService) { _exchnagesConfiguration = exchnagesConfiguration.Value; _httpResponseService = httpResponseService; if (string.IsNullOrEmpty(_exchnagesConfiguration.MiraiexAPIUri)) { throw new ArgumentNullException(nameof(_exchnagesConfiguration.MiraiexAPIUri)); } }
public CoinGeckoAPIService( HttpResponseService httpResponseService, IOptions <CoinGeckoConfiguration> options, ICoinGeckoRepository coinGeckoRepository, IQuickchartAPIService quickchartAPIService) { _httpResponseService = httpResponseService; _coinGeckoRepository = coinGeckoRepository; _quickchartAPIService = quickchartAPIService; _coinGeckoOptions = options.Value; }
public TimeTrackingService(ITimeTrackingRepository repo, HttpResponseService response) { this._repo = repo; this._response = response; }
public BitmyntAPIService(IOptions <ExchangesConfiguration> exchnagesConfiguration, HttpResponseService httpResponseService) { _exchnagesConfiguration = exchnagesConfiguration.Value; _httpResponseService = httpResponseService; }
public TimeTrackingController(ITimeTrackingService service, HttpResponseService response) { this._service = service; this._response = response; }
public TransactionController(ITransactionService service, HttpResponseService response) { this._service = service; this._response = response; }
public TransactionService(ITransactionRepository repo, HttpResponseService response) { this._repo = repo; this._response = response; }
public QuickchartAPIService(IOptions <QuickchartConfiguration> quickchartOptions, HttpResponseService httpResponseService) { _quickchartOptions = quickchartOptions.Value; _httpResponseService = httpResponseService; }
public ProductService(IProductRepository repo, HttpResponseService response) { this._repo = repo; this._response = response; }