Table of Contents

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

authorization AccessAuthorization

Answers which principal reached this use case.

schedules IEnumerable<IReminderSchedule>

Name what has come due, one per kind of thing that carries reminders, and record what was announced.

raiser NotificationRaiser

Writes each notification and tells whatever the person has open.

leases IWorkLeaseRunner

Holds the pass's scope for the length of one run.

timeProvider TimeProvider

Reads the instant a reminder is judged due against.

Exceptions

ArgumentNullException

Thrown when an argument is null.