public StockQueryResolverHostedService(IStockQuery stockQuery, IStockResponse stockResponse, IStooqService stooqService)
 {
     _stockQuery    = stockQuery;
     _stockResponse = stockResponse;
     _stooqService  = stooqService;
     _stockQuery.Initialize();
     _stockResponse.Initialize();
 }
Пример #2
0
 public StockResponseConsumerHostedService(IStockResponse stockResponse, INotification notification)
 {
     _notification  = notification;
     _stockResponse = stockResponse;
     _stockResponse.Initialize();
 }