public TaskExecutionService( ILogger <TaskExecutionService> logger, IOptionsMonitor <Infrastructure.Options.VmTaskProcessingOptions> vmTaskProcessingOptions, IServiceScopeFactory scopeFactory, IMapper mapper, IHubContext <EngineHub> engineHub, IStackStormService stackStormService, ITaskExecutionQueue taskExecutionQueue, IHttpClientFactory httpClientFactory, IOptionsMonitor <Infrastructure.Options.ClientOptions> clientOptions, StartupHealthCheck startupHealthCheck) { _logger = logger; _vmTaskProcessingOptions = vmTaskProcessingOptions; _scopeFactory = scopeFactory; _mapper = mapper; _engineHub = engineHub; _stackStormService = stackStormService; _taskExecutionQueue = taskExecutionQueue; _httpClientFactory = httpClientFactory; _clientOptions = clientOptions; _startupHealthCheck = startupHealthCheck; }
public StartupBackgroundService(StartupHealthCheck healthCheck) => _healthCheck = healthCheck;