public QueuedHostedService(IBackgroundTaskQueue taskQueue, IActiveBackgroundTaskList activeTaskList, ILogger <QueuedHostedService> logger) { TaskQueue = taskQueue; this.activeTaskList = activeTaskList; this.logger = logger; }
public CancelController(IHubContext <WorkerHub> workerHubContext, IActiveBackgroundTaskList activeBackgroundTaskList) { this.workerHubContext = workerHubContext; this.activeBackgroundTaskList = activeBackgroundTaskList; }