Table of Contents

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

schedules IScheduledJobSource

Declares which recurring dispatches this instance has.

scheduleStore IJobScheduleStore

Keeps what each schedule has already dispatched.

jobStore IJobStore

Enqueues the occasion and answers what became of the previous one.

timeProvider TimeProvider

Supplies the instant the occasions are read against.

Exceptions

ArgumentNullException

Thrown when a collaborator is null.