コード例 #1
0
 public InMemoryJobScheduler(IInMemoryJobSchedulerConfiguration schedulerConfiguration,
                             IInMemoryJobWorkerProcess workerProcess, IInMemoryJobSchedulerProcess schedulerProcess)
 {
     this.schedulerConfiguration = schedulerConfiguration;
     this.workerProcess          = workerProcess;
     this.schedulerProcess       = schedulerProcess;
 }
コード例 #2
0
        public InMemoryJobSchedulerTests()
        {
            schedulerConfiguration = new InMemoryJobSchedulerConfiguration();
            workerProcess          = Substitute.For <IInMemoryJobWorkerProcess>();
            schedulerProcess       = Substitute.For <IInMemoryJobSchedulerProcess>();

            sut = new InMemoryJobScheduler(schedulerConfiguration, workerProcess, schedulerProcess);
        }
コード例 #3
0
 public InMemoryJobSchedulerProcess(IInMemoryJobWorkerProcess workerProcess)
 {
     this.workerProcess = workerProcess;
 }
コード例 #4
0
        public InMemoryJobSchedulerProcessTests()
        {
            workerProcess = Substitute.For <IInMemoryJobWorkerProcess>();

            sut = new InMemoryJobSchedulerProcess(workerProcess);
        }