Table of Contents

Class EmailEnrichmentDerivation

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

What one derivation produced: the marks and proposals it settled, or the reason it produced none this time.

public sealed record EmailEnrichmentDerivation : IEquatable<EmailEnrichmentDerivation>
Inheritance
EmailEnrichmentDerivation
Implements
Inherited Members

Remarks

The two outcomes are unequal on purpose, and the whole of what a caller does with one follows from which it holds. A settled answer — including a settled answer of no marks at all — is written down and takes the message out of the queue. A withheld one is not written down and stops the pass, because every reason a derivation is withheld is a condition that outlives one message and would be met again by the next.

Properties

IsSettled

Gets whether the answer is one to write down.

Marks

Gets what was derived, which is empty for a settled answer of nothing and for a withheld one alike.

Tasks

Gets what the message asked the person for, which is empty where it asked for nothing.

Withheld

Gets why nothing was derived, or null where the answer is settled.

Methods

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

Records a settled derivation.

Withholding(EmailEnrichmentWithholding)

Records that nothing was derived, and why.