Constructor JobSchedulePass
- Namespace
- MailFathom.Application.Jobs.Scheduling
- Assembly
- MailFathom.Application.dll
JobSchedulePass(IScheduledJobSource, IJobScheduleStore, IJobStore, TimeProvider)
Initializes the pass from the schedules it reads and the queue it dispatches into.
public JobSchedulePass(IScheduledJobSource schedules, IJobScheduleStore scheduleStore, IJobStore jobStore, TimeProvider timeProvider)
Parameters
schedulesIScheduledJobSourceDeclares which recurring dispatches this instance has.
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.