Class ContactRelationshipSource
- Namespace
- MailFathom.Application.Contacts.Relationship
- Assembly
- MailFathom.Application.dll
What one statement about a correspondence rests on: a conversation naming the contact, or a document they sent.
public sealed record ContactRelationshipSource : IEquatable<ContactRelationshipSource>
- Inheritance
-
ContactRelationshipSource
- Implements
- Inherited Members
Remarks
A citation in the terms every other citation in this system is written in, so a reader follows one through the same resolution a Discover answer's sources are followed through: a conversation resolves as the message it was last carried by, and a document as that message's own attachment.
It names something the correspondence already published rather than anything a model wrote. What a producer answers with is a position in the list the turn numbered, and that position is resolved here against the threads and the documents the read produced — so a statement can cite no message outside the correspondence this contact was correlated with, and a number naming nothing takes its statement with it.
Constructors
- ContactRelationshipSource(StoredEmailId, int?)
What one statement about a correspondence rests on: a conversation naming the contact, or a document they sent.
Properties
- AttachmentPosition
Where the document sits in that message's walk, or null where the statement rests on the conversation rather than on a file.
- StoredEmailId
The message the statement leads back to — the conversation's most recent message naming this person, or the message a document arrived on.
Methods
- Conversation(CorrespondingThread)
Cites the conversation a statement rests on.
- Document(CorrespondingDocument)
Cites the document a statement rests on.