Constructor MailboxChangeSubmission
- Namespace
- MailFathom.Application.Mail.Mutations
- Assembly
- MailFathom.Application.dll
MailboxChangeSubmission(ILocalMailFolderStore, IMailboxMutationRecordStore, ILocalEmailStateStore, LocalMailCopier, IMailboxMutationAuditSettingsReader, IMailboxMutationAuditEntryStore, ClientSignals, TimeProvider)
Initializes the submission over both executors and what a local change is audited and announced through.
public MailboxChangeSubmission(ILocalMailFolderStore localFolders, IMailboxMutationRecordStore records, ILocalEmailStateStore states, LocalMailCopier copier, IMailboxMutationAuditSettingsReader auditSettings, IMailboxMutationAuditEntryStore auditEntries, ClientSignals signals, TimeProvider timeProvider)
Parameters
localFoldersILocalMailFolderStoreAnswers the account's custody phase and the local folders a held account keeps.
recordsIMailboxMutationRecordStoreOpens the durable record a change on a mirrored account, and an erasure on a held one, is carried by.
statesILocalEmailStateStoreReads and writes the stored state a local change commits to.
copierLocalMailCopierPlaces and writes the second stored message a local copy produces.
auditSettingsIMailboxMutationAuditSettingsReaderAnswers whether the account keeps an audit trail.
auditEntriesIMailboxMutationAuditEntryStoreAppends a local change's audit entry in the change's own transaction.
signalsClientSignalsAnnounces a local change to the clients watching the account.
timeProviderTimeProviderStamps a local change's audit entry and identity.
Exceptions
- ArgumentNullException
Thrown when a collaborator is null.