public WaitingForChildrenTransition(IPersistenceStore persistenceStore, IContinuationDispatcher continuationDispatcher, IActivityToContinuationConverter activityToContinuationConverter, IRecoverableAction recoverableAction, IJobMutator jobMutator) { if (persistenceStore == null) { throw new ArgumentNullException("persistenceStore"); } if (continuationDispatcher == null) { throw new ArgumentNullException("continuationDispatcher"); } if (activityToContinuationConverter == null) { throw new ArgumentNullException("activityToContinuationConverter"); } if (jobMutator == null) { throw new ArgumentNullException("JobMutator"); } _persistenceStore = persistenceStore; _continuationDispatcher = continuationDispatcher; _activityToContinuationConverter = activityToContinuationConverter; _recoverableAction = recoverableAction; _jobMutator = jobMutator; }
public Scheduler( QueueConfiguration queueConfiguration, IDependableConfiguration configuration, IPersistenceStore persistenceStore, Func<DateTime> now, IFailedJobQueue failedJobQueue, IRecoverableAction recoverableAction, IJobRouter router, IActivityToContinuationConverter activityToContinuationConverter, IEnumerable<IJobPump> jobPumps, IJobMutator jobMutator) { if (queueConfiguration == null) throw new ArgumentNullException("queueConfiguration"); if (configuration == null) throw new ArgumentNullException("configuration"); if (persistenceStore == null) throw new ArgumentNullException("persistenceStore"); if (now == null) throw new ArgumentNullException("now"); if (failedJobQueue == null) throw new ArgumentNullException("failedJobQueue"); if (recoverableAction == null) throw new ArgumentNullException("recoverableAction"); if (router == null) throw new ArgumentNullException("router"); if (activityToContinuationConverter == null) throw new ArgumentNullException("activityToContinuationConverter"); if (jobPumps == null) throw new ArgumentNullException("jobPumps"); if (jobMutator == null) throw new ArgumentNullException("jobMutator"); _persistenceStore = persistenceStore; _now = now; _failedJobQueue = failedJobQueue; _recoverableAction = recoverableAction; _router = router; _activityToContinuationConverter = activityToContinuationConverter; _jobPumps = jobPumps; _jobMutator = jobMutator; }
public WaitingForChildrenTransition(IPersistenceStore persistenceStore, IContinuationDispatcher continuationDispatcher, IActivityToContinuationConverter activityToContinuationConverter, IRecoverableAction recoverableAction, IJobMutator jobMutator) { if (persistenceStore == null) throw new ArgumentNullException("persistenceStore"); if (continuationDispatcher == null) throw new ArgumentNullException("continuationDispatcher"); if (activityToContinuationConverter == null) throw new ArgumentNullException("activityToContinuationConverter"); if (jobMutator == null) throw new ArgumentNullException("JobMutator"); _persistenceStore = persistenceStore; _continuationDispatcher = continuationDispatcher; _activityToContinuationConverter = activityToContinuationConverter; _recoverableAction = recoverableAction; _jobMutator = jobMutator; }
public Scheduler( QueueConfiguration queueConfiguration, IDependableConfiguration configuration, IPersistenceStore persistenceStore, Func <DateTime> now, IFailedJobQueue failedJobQueue, IRecoverableAction recoverableAction, IJobRouter router, IActivityToContinuationConverter activityToContinuationConverter, IEnumerable <IJobPump> jobPumps, IJobMutator jobMutator) { if (queueConfiguration == null) { throw new ArgumentNullException("queueConfiguration"); } if (configuration == null) { throw new ArgumentNullException("configuration"); } if (persistenceStore == null) { throw new ArgumentNullException("persistenceStore"); } if (now == null) { throw new ArgumentNullException("now"); } if (failedJobQueue == null) { throw new ArgumentNullException("failedJobQueue"); } if (recoverableAction == null) { throw new ArgumentNullException("recoverableAction"); } if (router == null) { throw new ArgumentNullException("router"); } if (activityToContinuationConverter == null) { throw new ArgumentNullException("activityToContinuationConverter"); } if (jobPumps == null) { throw new ArgumentNullException("jobPumps"); } if (jobMutator == null) { throw new ArgumentNullException("JobMutator"); } _persistenceStore = persistenceStore; _now = now; _failedJobQueue = failedJobQueue; _recoverableAction = recoverableAction; _router = router; _activityToContinuationConverter = activityToContinuationConverter; _jobPumps = jobPumps; _jobMutator = jobMutator; }