コード例 #1
0
 public QueuedHostedService(IBackgroundTaskQueue taskQueue,
                            IActiveBackgroundTaskList activeTaskList,
                            ILogger <QueuedHostedService> logger)
 {
     TaskQueue           = taskQueue;
     this.activeTaskList = activeTaskList;
     this.logger         = logger;
 }
コード例 #2
0
 public CancelController(IHubContext <WorkerHub> workerHubContext, IActiveBackgroundTaskList activeBackgroundTaskList)
 {
     this.workerHubContext         = workerHubContext;
     this.activeBackgroundTaskList = activeBackgroundTaskList;
 }