Constructor EmailAttachmentTextDeriver
- Namespace
- MailFathom.Application.Emails.AttachmentText
- Assembly
- MailFathom.Application.dll
EmailAttachmentTextDeriver(IEmailContentStore, IEmailAttachmentContentReader, IAttachmentTextExtractor, IEmailAttachmentImageDescriber, SensitiveContentDerivationGuard, IEmailContentRepairRequestStore, AttachmentTextExtractionOptions, EmailAttachmentTextBounds, ProviderRequestPacer)
Initializes the derivation from the stores and ports one message's attachments are read through.
public EmailAttachmentTextDeriver(IEmailContentStore contentStore, IEmailAttachmentContentReader attachmentReader, IAttachmentTextExtractor extractor, IEmailAttachmentImageDescriber describer, SensitiveContentDerivationGuard guard, IEmailContentRepairRequestStore repairRequestStore, AttachmentTextExtractionOptions extractionOptions, EmailAttachmentTextBounds bounds, ProviderRequestPacer descriptionPacer)
Parameters
contentStoreIEmailContentStoreReads the stored raw MIME the attachments are opened from.
attachmentReaderIEmailAttachmentContentReaderOpens one attachment at a walk position.
extractorIAttachmentTextExtractorReads a document attachment's text, or says why it read none.
describerIEmailAttachmentImageDescriberDescribes an image attachment, or says why it stayed a picture.
guardSensitiveContentDerivationGuardRedacts what is about to be stored, and stamps what it was redacted under.
repairRequestStoreIEmailContentRepairRequestStoreRecords durably that a message's stored copy is missing or will not parse.
extractionOptionsAttachmentTextExtractionOptionsThe per-attachment ceilings, whose input bound also bounds what is buffered for a description.
boundsEmailAttachmentTextBoundsThe per-message and per-run ceilings.
descriptionPacerProviderRequestPacerHolds a description back until this deployment is allowed to send its next chat call.
Exceptions
- ArgumentNullException
Thrown when any argument is null.