Constructor MailboxMutationConverger
- Namespace
- MailFathom.Application.Mail.Mutations.Convergence
- Assembly
- MailFathom.Application.dll
MailboxMutationConverger(IMailboxMutationRecordStore, IMailboxMutationPerformer, IMailTransportSecurityPolicyReader, OptimisticConcurrencyRetryPolicy, MailboxConvergenceOptions, TimeProvider)
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, MailboxConvergenceOptions options, TimeProvider timeProvider)
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.
optionsMailboxConvergenceOptionsBounds one pass and carries the unknown-outcome grace period.
timeProviderTimeProviderMeasures how long an unresolved outcome has been unresolved.
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.