Table of Contents

Class ContactRelationship

Namespace
MailFathom.Application.Contacts.Relationship
Assembly
MailFathom.Application.dll

Where a correspondence with one person stands, as an opened contact reports it.

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

Remarks

It is derived on the read and stored nowhere. Nothing here is written to a contact, to a message, or to a table of its own, so a card can never come to disagree with the mail it was read from: the next person to open the contact derives it again from whatever the correspondence says then.

Nothing is what every case that produced no card answers with, and it is not a failure a client reports. A deployment that derives none, a provider that could not be reached, an allowance already spent, a producer that answered unreadably, and a person this mailbox holds no mail about all leave the contact drawn from its record and its correspondence alone — which is the contact page every deployment served before this existed.

The note is what makes the rest worth drawing, so an answer without one is Nothing however many observations survived beside it. A card headed by nothing, carrying three chips a reader never asked for, is a worse answer than no card.

Properties

NextAction

Gets what the derivation suggests doing next, or null where it suggested nothing.

Note

Gets the note the card is headed by, or null where none was derived.

Nothing

Gets the answer every derivation that produced no card gives.

Observations

Gets what the derivation observed beside the note, in aspect order, which is empty where it observed nothing.

WasDerived

Gets whether a card was derived at all.

Methods

Derived(ContactRelationshipStatement?, ContactRelationshipStatement?, IReadOnlyList<ContactRelationshipObservation>)

Records one derived card.