Table of Contents

Class ThreadStateDerivation

Namespace
MailFathom.Application.Emails.ThreadStates
Assembly
MailFathom.Application.dll

What one derivation produced: the statements it settled, or the reason it produced none this time.

public sealed record ThreadStateDerivation : IEquatable<ThreadStateDerivation>
Inheritance
ThreadStateDerivation
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 statements at all — is written down and takes the conversation 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 conversation and would be met again by the next.

Properties

Coverage

Gets how much of the conversation the derivation was shown.

Entries

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

IsSettled

Gets whether the answer is one to write down.

Withheld

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

Methods

Settled(IReadOnlyList<ThreadStateEntry>)

Records a derivation made over the whole conversation.

TooLarge()

Records that the conversation is longer than one derivation may take in, so none was attempted.

Withholding(ThreadStateWithholding)

Records that nothing was derived, and why.