Table of Contents

Method Compose

Namespace
MailFathom.Application.Discovery.Planning
Assembly
MailFathom.Application.dll

Compose(DiscoveryIntent, RetrievalPlan)

Composes the plan for an intent and the retrieval it implies.

public static DiscoveryRunPlan Compose(DiscoveryIntent intent, RetrievalPlan retrieval)

Parameters

intent DiscoveryIntent

What the question is asking for.

retrieval RetrievalPlan

How the question is looked for.

Returns

DiscoveryRunPlan

The plan, with the composition derived from the intent.

Exceptions

ArgumentException

intent is the default of its struct and names nothing.