Class PresentationCitation
- Namespace
- MailFathom.Application.Discovery.Presentation.Citations
- Assembly
- MailFathom.Application.dll
One source a plan declares, under the name its blocks refer to it by.
public sealed record PresentationCitation : IEquatable<PresentationCitation>
- Inheritance
-
PresentationCitation
- Implements
- Inherited Members
Remarks
A citation is declared once in the plan and referred to by Id wherever it is used, so a reader can see that two facts rest on the same message and a client can draw one source list for a run.
The label is what a client prints where the source is named — a subject, a sender, a file name — and it exists so a citation reads as something before it is followed. It is descriptive text and never the identity: two citations may carry the same label and still resolve to different places.
Two of its members are about the source rather than about the reference to it, which is why they sit here and not on the blocks that cite it. Medium says whether somebody wrote the source or this deployment described a picture of it, which is the ranking ADR 0030 fixes. Unreadable says that the source exists and yielded nothing, and why — a state a plan declares so that an encrypted contract nobody could open is never presented as a mailbox that held nothing on the subject.
Constructors
- PresentationCitation(PresentationCitationId, PresentationCitationTarget, PresentationText, PresentationSourceMedium, UnreadableSourceReason?)
Initializes one source a plan declares.
Properties
- Id
Gets the name blocks refer to this citation by.
- Label
Gets what a client prints where the source is named.
- Medium
Gets whether somebody wrote the source or it is this deployment's description of a picture.
- Target
Gets what the citation resolves to.
- Unreadable
Gets why the source could not be read, or null where it was read.