public StockQueryResolverHostedService(IStockQuery stockQuery, IStockResponse stockResponse, IStooqService stooqService) { _stockQuery = stockQuery; _stockResponse = stockResponse; _stooqService = stooqService; _stockQuery.Initialize(); _stockResponse.Initialize(); }
public StockResponseConsumerHostedService(IStockResponse stockResponse, INotification notification) { _notification = notification; _stockResponse = stockResponse; _stockResponse.Initialize(); }