public ScopedProcessingService(ILogger <ScopedProcessingService> logger,
                                IGlobalQuoteService globalQuoteService,
                                IMediator mediator)
 {
     _logger             = logger;
     _globalQuoteService = globalQuoteService;
     _mediator           = mediator;
 }
Exemplo n.º 2
0
 public GlobalQuoteTimedHostedService(IServiceScopeFactory serviceScopeFactory,
                                      ILogger <GlobalQuoteTimedHostedService> logger,
                                      IGlobalQuoteService globalQuoteService)
 {
     _logger              = logger;
     _globalQuoteService  = globalQuoteService;
     _serviceScopeFactory = serviceScopeFactory;
 }