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