Constructor JobSchedulePass
- Namespace
- MailFathom.Application.Jobs.Scheduling
- Assembly
- MailFathom.Application.dll
JobSchedulePass(IEnumerable<IScheduledJobSource>, IJobScheduleStore, IJobStore, TimeProvider)
Initializes the pass from the schedules it reads and the queue it dispatches into.
public JobSchedulePass(IEnumerable<IScheduledJobSource> schedules, IJobScheduleStore scheduleStore, IJobStore jobStore, TimeProvider timeProvider)
Parameters
schedulesIEnumerable<IScheduledJobSource>Declare which recurring dispatches this instance has, one source per part of the system that has any.
scheduleStoreIJobScheduleStoreKeeps what each schedule has already dispatched.
jobStoreIJobStoreEnqueues the occasion and answers what became of the previous one.
timeProviderTimeProviderSupplies the instant the occasions are read against.
Exceptions
- ArgumentNullException
Thrown when a collaborator is null.