Constructor OutgoingMailFiler
- Namespace
- MailFathom.Application.Mail.Delivery.Filing
- Assembly
- MailFathom.Application.dll
OutgoingMailFiler(MailboxCopyAppender, IMailboxWriteSessionFactory, MailboxDestinationResolver, IOutgoingMailFilingStore, IMailTransportSecurityPolicyReader, OptimisticConcurrencyRetryPolicy, TimeProvider)
Initializes the filer from the append it files through and the record it writes the copy onto.
public OutgoingMailFiler(MailboxCopyAppender appends, IMailboxWriteSessionFactory writeSessions, MailboxDestinationResolver destinations, IOutgoingMailFilingStore filings, IMailTransportSecurityPolicyReader transportSecurityPolicies, OptimisticConcurrencyRetryPolicy commitPolicy, TimeProvider timeProvider)
Parameters
appendsMailboxCopyAppenderPuts the copy into the folder the filing names, in the order that keeps it one copy.
writeSessionsIMailboxWriteSessionFactoryOpens the one session able to change a mailbox, which a withdrawal needs of its own.
destinationsMailboxDestinationResolverTurns the role a filing names into the folder of this account it means.
filingsIOutgoingMailFilingStoreKeeps the durable account of every copy that has been filed.
transportSecurityPoliciesIMailTransportSecurityPolicyReaderSupplies the connection and authentication policy the commands obey.
commitPolicyOptimisticConcurrencyRetryPolicyCommits each movement of the filing row.
timeProviderTimeProviderStamps everything the row records.
Exceptions
- ArgumentNullException
Thrown when a collaborator is null.