Table of Contents

Constructor MailSynchronizationStatusReader

Namespace
MailFathom.Application.Synchronization.Administration
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

accounts IMailAccountCatalog

Names the accounts this deployment serves, and whether it synchronizes at all.

folders IMailFolderParticipationReader

Names the folders configuration maps, and which of them are mirrored.

runLedger MailSynchronizationRunLedger

Reports what the running process's supervisors are doing.

progressReader IMailFolderSynchronizationProgressReader

Reports how far each folder's durable progress has come.

authorization AccessAuthorization

Answers which principal reached this use case.

Exceptions

ArgumentNullException

Thrown when any argument is null.