Constructor MailAccountFreshnessReader
- Namespace
- MailFathom.Application.Accounts
- Assembly
- MailFathom.Application.dll
MailAccountFreshnessReader(MailAccountDirectoryReader, MailSynchronizationRunLedger)
Initializes the use case.
public MailAccountFreshnessReader(MailAccountDirectoryReader directoryReader, MailSynchronizationRunLedger runLedger)
Parameters
directoryReaderMailAccountDirectoryReaderReads which accounts the caller's user owns and how current each of their folders is.
runLedgerMailSynchronizationRunLedgerReports how this process's most recent run of each account and each folder ended.
Exceptions
- ArgumentNullException
Thrown when any argument is null.