Constructor MailEnrichmentPass
- Namespace
- MailFathom.Application.Emails.Enrichment
- Assembly
- MailFathom.Application.dll
MailEnrichmentPass(IStoredEmailEnrichmentStore, IEmailEnricher, MailCalendarProposals, IMailAccountLanguages, MailDerivedTaskProposals, SensitiveContentEgressGuard, OptimisticConcurrencyRetryPolicy, TimeProvider)
Initializes the pass from the state it walks and the two readings it asks.
public MailEnrichmentPass(IStoredEmailEnrichmentStore enrichmentStore, IEmailEnricher enricher, MailCalendarProposals calendarProposals, IMailAccountLanguages accountLanguages, MailDerivedTaskProposals taskProposals, SensitiveContentEgressGuard egressGuard, OptimisticConcurrencyRetryPolicy commitPolicy, TimeProvider timeProvider)
Parameters
enrichmentStoreIStoredEmailEnrichmentStoreReads what is awaiting a derivation and writes down what one produced.
enricherIEmailEnricherDerives one message's marks, in whichever state the deployment left it.
calendarProposalsMailCalendarProposalsReads the dates one message names and writes them onto the calendars the mailbox serves.
accountLanguagesIMailAccountLanguagesAnswers which language the account's mail is read in.
taskProposalsMailDerivedTaskProposalsOffers what a message asked for to the people the mailbox is assigned to.
egressGuardSensitiveContentEgressGuardHolds the posture the passages are scanned under while the pass runs.
commitPolicyOptimisticConcurrencyRetryPolicyCommits one message's record, retrying a conflict with a competing writer.
timeProviderTimeProviderReads when a derivation ran.
Exceptions
- ArgumentNullException
Thrown when any argument is null.