Constructor MailSynchronizationStatusReader
- Assembly
- MailFathom.Application.dll
MailSynchronizationStatusReader(IMailAccountCatalog, IMailFolderParticipationReader, MailSynchronizationRunLedger, IMailFolderSynchronizationProgressReader, AccessAuthorization)
Initializes a reader over the four sources one status answer is composed from.
public MailSynchronizationStatusReader(IMailAccountCatalog accounts, IMailFolderParticipationReader folders, MailSynchronizationRunLedger runLedger, IMailFolderSynchronizationProgressReader progressReader, AccessAuthorization authorization)
Parameters
accountsIMailAccountCatalogNames the accounts this deployment serves, and whether it synchronizes at all.
foldersIMailFolderParticipationReaderNames the folders configuration maps, and which of them are mirrored.
runLedgerMailSynchronizationRunLedgerReports what the running process's supervisors are doing.
progressReaderIMailFolderSynchronizationProgressReaderReports how far each folder's durable progress has come.
authorizationAccessAuthorizationAnswers which principal reached this use case.
Exceptions
- ArgumentNullException
Thrown when any argument is null.