コード例 #1
0
 public TaskQuerier(Runner.SubtaskRunner runner, ITaskExecutor[] tasks, Utils.Logger logger, Profiler.Timeline profiler = null)
 {
     this.runner        = runner;
     this.tasks         = tasks;
     this.logger        = logger;
     this.profilerTrack = profiler?.CreateTrack <Profiler.TimelineTrack>(GetType().Name);
 }
コード例 #2
0
 public SubtaskExecutor(
     IProvider provider,
     Runner.SubtaskRunner runner,
     int batchSize,
     Utils.Logger logger        = null,
     Profiler.Timeline profiler = null)
 {
     this.provider      = provider;
     this.runner        = runner;
     this.batchSize     = batchSize;
     this.logger        = logger;
     this.profilerTrack = profiler?.CreateTrack <Profiler.TimelineTrack>(provider.GetType().Name);
 }