Constructor ReminderSweep
- Namespace
- MailFathom.Application.Reminders
- Assembly
- MailFathom.Application.dll
ReminderSweep(AccessAuthorization, IEnumerable<IReminderSchedule>, NotificationRaiser, IWorkLeaseRunner, TimeProvider)
Initializes the pass.
public ReminderSweep(AccessAuthorization authorization, IEnumerable<IReminderSchedule> schedules, NotificationRaiser raiser, IWorkLeaseRunner leases, TimeProvider timeProvider)
Parameters
authorizationAccessAuthorizationAnswers which principal reached this use case.
schedulesIEnumerable<IReminderSchedule>Name what has come due, one per kind of thing that carries reminders, and record what was announced.
raiserNotificationRaiserWrites each notification and tells whatever the person has open.
leasesIWorkLeaseRunnerHolds the pass's scope for the length of one run.
timeProviderTimeProviderReads the instant a reminder is judged due against.
Exceptions
- ArgumentNullException
Thrown when an argument is null.