Constructor MailboxReconciler
- 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
reconciliationStoreIStoredEmailReconciliationStoreChooses the window and records what the server answered.
mutationStoreIMailboxMutationReconciliationStoreSays which of the disappearances are changes MailFathom itself made.
dispositionReaderIRemotelyDeletedEmailDispositionReaderAnswers what the account being reconciled does with an email its server no longer holds.
custodyStoreIMailAccountCustodyStoreSays whether the account's source is still the truth about what exists, which outranks that answer.
concurrencyRetryPolicyOptimisticConcurrencyRetryPolicyCommits one window's outcome, retrying a conflict with a competing writer.
signalsClientSignalsTells an open client which stored mail this window moved, so what is on the screen catches up.
timeProviderTimeProviderStamps the observation, which is what advances the window across runs.
optionsMailboxSynchronizationOptionsBounds one window.
Exceptions
- ArgumentNullException
Thrown when any argument is null.