Table of Contents

Constructor MailboxMutationPerformer

Namespace
MailFathom.Application.Mail.Mutations
Assembly
MailFathom.Application.dll

MailboxMutationPerformer(IMailboxMutationRecordStore, IMailboxWriteSessionFactory, OptimisticConcurrencyRetryPolicy, IMailboxMutationAuditTrail, ClientSignals, IMailFolderResolutionStore, MailboxMutationOptions)

Initializes the performer from the record store, the write session it acts through, and its attempt bound.

public MailboxMutationPerformer(IMailboxMutationRecordStore store, IMailboxWriteSessionFactory writeSessionFactory, OptimisticConcurrencyRetryPolicy commitPolicy, IMailboxMutationAuditTrail auditTrail, ClientSignals signals, IMailFolderResolutionStore folderResolutions, MailboxMutationOptions options)

Parameters

store IMailboxMutationRecordStore

Keeps the durable record every mutation is written to.

writeSessionFactory IMailboxWriteSessionFactory

Opens the one session able to change a mailbox.

commitPolicy OptimisticConcurrencyRetryPolicy

Commits the record's first write, retrying an optimistic conflict.

auditTrail IMailboxMutationAuditTrail

Keeps the history a finished mutation leaves behind, where the account asked for one.

signals ClientSignals

Tells an open client that a change it may be drawing as pending has settled.

folderResolutions IMailFolderResolutionStore

Names the alias the folder a change files into is currently bound to.

options MailboxMutationOptions

Supplies how many attempts one mutation may spend.

Exceptions

ArgumentNullException

Thrown when a required collaborator is null.

ArgumentOutOfRangeException

Thrown when the configured attempt bound is below one.