Constructor EmailAttachmentDownloadReader
- Namespace
- MailFathom.Application.Emails.DownloadAttachment
- Assembly
- MailFathom.Application.dll
EmailAttachmentDownloadReader(IStoredEmailSummaryReader, IEmailContentStore, IEmailAttachmentContentReader, IEmailContentRepairRequestStore, IAttachmentTextExtractor, SensitiveContentEgressScreen, MailboxScopeResolver, AccessAuthorization)
Initializes the use case.
public EmailAttachmentDownloadReader(IStoredEmailSummaryReader summaryReader, IEmailContentStore contentStore, IEmailAttachmentContentReader attachmentContentReader, IEmailContentRepairRequestStore repairRequestStore, IAttachmentTextExtractor attachmentText, SensitiveContentEgressScreen screen, MailboxScopeResolver scopeResolver, AccessAuthorization authorization)
Parameters
summaryReaderIStoredEmailSummaryReaderReads one stored email's summary by its identity.
contentStoreIEmailContentStoreReads the raw MIME stored for an email, with what was recorded about it.
attachmentContentReaderIEmailAttachmentContentReaderOpens one attachment of that stored MIME by its position.
repairRequestStoreIEmailContentRepairRequestStoreRecords durably that a local copy has to be fetched or read again.
attachmentTextIAttachmentTextExtractorReads the attachment's text under its own ceilings, or says why it read none.
screenSensitiveContentEgressScreenJudges that text against what this deployment refuses to let leave.
scopeResolverMailboxScopeResolverAnswers whether a tool may read the mailbox an email was stored from, and whose mail it is.
authorizationAccessAuthorizationAnswers which principal reached this use case.
Exceptions
- ArgumentNullException
Thrown when any argument is null.