Table of Contents

Constructor MailboxReconciler

Namespace
MailFathom.Application.Synchronization.Reconciliation
Assembly
MailFathom.Application.dll

MailboxReconciler(IStoredEmailReconciliationStore, IMailboxMutationReconciliationStore, IRemotelyDeletedEmailDispositionReader, IMailAccountCustodyStore, OptimisticConcurrencyRetryPolicy, ClientSignals, TimeProvider, MailboxSynchronizationOptions)

Initializes a new mailbox reconciler.

public MailboxReconciler(IStoredEmailReconciliationStore reconciliationStore, IMailboxMutationReconciliationStore mutationStore, IRemotelyDeletedEmailDispositionReader dispositionReader, IMailAccountCustodyStore custodyStore, OptimisticConcurrencyRetryPolicy concurrencyRetryPolicy, ClientSignals signals, TimeProvider timeProvider, MailboxSynchronizationOptions options)

Parameters

reconciliationStore IStoredEmailReconciliationStore

Chooses the window and records what the server answered.

mutationStore IMailboxMutationReconciliationStore

Says which of the disappearances are changes MailFathom itself made.

dispositionReader IRemotelyDeletedEmailDispositionReader

Answers what the account being reconciled does with an email its server no longer holds.

custodyStore IMailAccountCustodyStore

Says whether the account's source is still the truth about what exists, which outranks that answer.

concurrencyRetryPolicy OptimisticConcurrencyRetryPolicy

Commits one window's outcome, retrying a conflict with a competing writer.

signals ClientSignals

Tells an open client which stored mail this window moved, so what is on the screen catches up.

timeProvider TimeProvider

Stamps the observation, which is what advances the window across runs.

options MailboxSynchronizationOptions

Bounds one window.

Exceptions

ArgumentNullException

Thrown when any argument is null.