Constructor MailboxMutationConverger
- Namespace
- MailFathom.Application.Mail.Mutations.Convergence
- Assembly
- MailFathom.Application.dll
MailboxMutationConverger(IMailboxMutationRecordStore, IMailboxMutationPerformer, IMailTransportSecurityPolicyReader, OptimisticConcurrencyRetryPolicy, IMailboxMutationAuditTrail, MailboxConvergenceOptions, TimeProvider, ILocalMailFolderStore, MailboxChangeSubmission)
Initializes the converger from the record store and the one path able to perform a change.
public MailboxMutationConverger(IMailboxMutationRecordStore store, IMailboxMutationPerformer performer, IMailTransportSecurityPolicyReader transportSecurityPolicyReader, OptimisticConcurrencyRetryPolicy commitPolicy, IMailboxMutationAuditTrail auditTrail, MailboxConvergenceOptions options, TimeProvider timeProvider, ILocalMailFolderStore localFolders, MailboxChangeSubmission submission)
Parameters
storeIMailboxMutationRecordStoreReads the outstanding records and, through the journal, is written back to.
performerIMailboxMutationPerformerResumes a mutation from the stage its record names.
transportSecurityPolicyReaderIMailTransportSecurityPolicyReaderSupplies the connection and authentication policy every attempt obeys.
commitPolicyOptimisticConcurrencyRetryPolicyCommits the record movements this class makes without the performer.
auditTrailIMailboxMutationAuditTrailKeeps the history a finished mutation leaves behind, where the account asked for one.
optionsMailboxConvergenceOptionsBounds one pass and carries the unknown-outcome grace period.
timeProviderTimeProviderMeasures how long an unresolved outcome has been unresolved.
localFoldersILocalMailFolderStoreAnswers whether the account is held, where no change is carried to a server.
submissionMailboxChangeSubmissionRuns a record opened as a local erasure once its window has passed.
Exceptions
- ArgumentNullException
Thrown when a required collaborator is null.
- ArgumentOutOfRangeException
Thrown when the configured pass bound is below one or the grace period is negative.