Table of Contents

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

contentStore IEmailContentStore

Reads the stored raw MIME the attachments are opened from.

attachmentReader IEmailAttachmentContentReader

Opens one attachment at a walk position.

extractor IAttachmentTextExtractor

Reads a document attachment's text, or says why it read none.

describer IEmailAttachmentImageDescriber

Describes an image attachment, or says why it stayed a picture.

guard SensitiveContentDerivationGuard

Redacts what is about to be stored, and stamps what it was redacted under.

repairRequestStore IEmailContentRepairRequestStore

Records durably that a message's stored copy is missing or will not parse.

extractionOptions AttachmentTextExtractionOptions

The per-attachment ceilings, whose input bound also bounds what is buffered for a description.

bounds EmailAttachmentTextBounds

The per-message and per-run ceilings.

descriptionPacer ProviderRequestPacer

Holds a description back until this deployment is allowed to send its next chat call.

Exceptions

ArgumentNullException

Thrown when any argument is null.