Table of Contents

Constructor DiscoveryRun

Namespace
MailFathom.Application.Discovery.Runs
Assembly
MailFathom.Application.dll

DiscoveryRun(MailAnsweringCapability, PlannedMailRetrieval, AccessAuthorization, SensitiveContentEgressGuard, DiscoveryCoverageReader, IMailAnsweringSpendLedger, IUserLanguages, IDiscoveryRunPlanner?, IDiscoveryResultComposer?)

Creates the use case one Discover run is performed through.

public DiscoveryRun(MailAnsweringCapability capability, PlannedMailRetrieval retrieval, AccessAuthorization authorization, SensitiveContentEgressGuard egressGuard, DiscoveryCoverageReader coverageReader, IMailAnsweringSpendLedger spendLedger, IUserLanguages languages, IDiscoveryRunPlanner? planner, IDiscoveryResultComposer? composer)

Parameters

capability MailAnsweringCapability

Whether this deployment answers questions about mail, and whether it currently can.

retrieval PlannedMailRetrieval

The retrieval a derived plan is run through.

authorization AccessAuthorization

Answers which principal reached this use case.

egressGuard SensitiveContentEgressGuard

Withholds from a provider whatever this user's posture withholds.

coverageReader DiscoveryCoverageReader

Reads which accounts the run drew on and how current each one's local copy was.

spendLedger IMailAnsweringSpendLedger

Admits the run against what the current period may still spend, and is what stops the next question.

languages IUserLanguages

Resolves the language the person asking reads, which the result's own sentences are written in.

planner IDiscoveryRunPlanner

The derivation, absent on a deployment that composes no chat agent.

composer IDiscoveryResultComposer

The composition, absent on the same deployments the derivation is.