コード例 #1
0
 public BackgroundQueue(BackgroundQueueOptions options)
 {
     _state = new BackgroundQueueState(options);
 }
コード例 #2
0
 public BackgroundQueueState(BackgroundQueueOptions options)
 {
     _options   = options ?? throw new ArgumentNullException(nameof(options));
     _scheduler = options.Scheduler ?? TaskScheduler.Default;
 }