Table of Contents

Method Settled

Namespace
MailFathom.Application.Emails.Enrichment
Assembly
MailFathom.Application.dll

Settled(IReadOnlyList<EmailEnrichmentMark>, IReadOnlyList<EmailTaskProposal>?)

Records a settled derivation.

public static EmailEnrichmentDerivation Settled(IReadOnlyList<EmailEnrichmentMark> marks, IReadOnlyList<EmailTaskProposal>? tasks = null)

Parameters

marks IReadOnlyList<EmailEnrichmentMark>

What was derived, at most one mark per aspect and empty where there was nothing to say.

tasks IReadOnlyList<EmailTaskProposal>

What the message asked the person for, or null where it asked for nothing.

Returns

EmailEnrichmentDerivation

The derivation.

Remarks

The proposals are stated last and may be left unstated, because a derivation of marks alone is what every caller that is not the task list produces and reads — a message that asked for nothing and a reading that looked for nothing are the same settled answer.

Exceptions

ArgumentNullException

Thrown when marks is null.

ArgumentException

Thrown when two marks carry the same aspect, or when more proposals are offered than one message produces.