Table of Contents

Constructor MailBodyCleaning

Namespace
MailFathom.Application.EmailContent.Cleaning
Assembly
MailFathom.Application.dll

MailBodyCleaning(EmailContentReader, IMailBodyCleaner, MailboxScopeResolver, SensitiveContentEgressGuard, AccessAuthorization)

Initializes the pass over the read it cleans and the producer that proposes the cleaning.

public MailBodyCleaning(EmailContentReader content, IMailBodyCleaner cleaner, MailboxScopeResolver scopeResolver, SensitiveContentEgressGuard egressGuard, AccessAuthorization authorization)

Parameters

content EmailContentReader

Reads the message from the local copy, under the acting caller's own grant.

cleaner IMailBodyCleaner

Proposes which blocks to keep, or says why it proposed nothing.

scopeResolver MailboxScopeResolver

Answers whose mail this pass is reading, which is the posture the outline is scanned under.

egressGuard SensitiveContentEgressGuard

Names that user for the whole flow, so every text of the outline is guarded under their own posture.

authorization AccessAuthorization

Answers which principal reached this use case.

Exceptions

ArgumentNullException

Thrown when an argument is null.