Constructor MailDraftFiler
- Namespace
- MailFathom.Application.Mail.Delivery.Drafts
- Assembly
- MailFathom.Application.dll
MailDraftFiler(IMailboxWriteSessionFactory, MailboxDestinationResolver, IEmailContentStore, IMailDraftStore, IMailTransportSecurityPolicyReader, OptimisticConcurrencyRetryPolicy, TimeProvider)
Initializes the filer from the session it appends through and the record it writes each copy onto.
public MailDraftFiler(IMailboxWriteSessionFactory writeSessions, MailboxDestinationResolver destinations, IEmailContentStore contentStore, IMailDraftStore drafts, IMailTransportSecurityPolicyReader transportSecurityPolicies, OptimisticConcurrencyRetryPolicy commitPolicy, TimeProvider timeProvider)
Parameters
writeSessionsIMailboxWriteSessionFactoryOpens the one session able to change a mailbox.
destinationsMailboxDestinationResolverTurns the drafts role into the folder of this account it means.
contentStoreIEmailContentStoreHolds the stored MIME each revision is appended from.
draftsIMailDraftStoreKeeps the durable account of every draft and every copy of one.
transportSecurityPoliciesIMailTransportSecurityPolicyReaderSupplies the connection and authentication policy the commands obey.
commitPolicyOptimisticConcurrencyRetryPolicyCommits each movement of the draft.
timeProviderTimeProviderStamps the copy's internal date and everything the record notes.
Exceptions
- ArgumentNullException
Thrown when a collaborator is null.