예제 #1
0
 public StockHostedService(
     ILogger <StockHostedService> logger,
     RealTimeStockService realTimeStockService,
     WebsocketService websocketService,
     IServiceProvider serviceProvider
     )
 {
     _logger = logger;
     _realTimeStockService = realTimeStockService;
     _websocketService     = websocketService;
     _serviceProvider      = serviceProvider;
 }
예제 #2
0
 public TransactionHostedService(
     OrderQueueService orderQueueService,
     ILogger <TransactionHostedService> logger,
     RealTimeStockService realTimeStockService,
     IServiceProvider serviceProvider
     )
 {
     _orderQueueService    = orderQueueService;
     _logger               = logger;
     _realTimeStockService = realTimeStockService;
     _serviceProvider      = serviceProvider;
 }
예제 #3
0
 public StockHub(RealTimeStockService realTimeStockService)
 {
     _realTimeStockService = realTimeStockService;
 }
예제 #4
0
 public StockController(IStockService stockService, ICompanyService companyService, RealTimeStockService realTimeStockService)
 {
     _stockService         = stockService;
     _companyService       = companyService;
     _realTimeStockService = realTimeStockService;
 }