Class ReplyDraftClaim
- Namespace
- MailFathom.Application.Emails.ReplyDrafts
- Assembly
- MailFathom.Application.dll
One thing a draft asserts, with the messages of the conversation that back it.
public sealed record ReplyDraftClaim : IEquatable<ReplyDraftClaim>
- Inheritance
-
ReplyDraftClaim
- Implements
- Inherited Members
Remarks
A reply that states a price, a date, or a commitment is stating something out of the correspondence, and a claim is that statement held against the messages it came from. It is what a person checks before they put their name to the message, which is the one moment checking is worth anything.
A claim with no source is kept and marked rather than dropped. That is the opposite of what a conversation's derived state does with an unsourced statement, and the difference is the point: a state is a record somebody reads instead of the correspondence, so an unsupported sentence in it is indistinguishable from a supported one and must not be stored — while a draft is text somebody is about to send, so the sentence the mail does not back is exactly the sentence they have to see. Dropping it here would leave it in the body with nothing beside it saying so.
The sources name messages in the same terms every other citation in this system names them, so a reader follows one through the resolution a Discover answer's sources are followed through.
Fields
- MaximumSourceCount
The greatest number of messages one claim may cite.
- MaximumTextLength
The greatest length a claim carries before it is shortened to it.
Properties
- IsSupported
Gets whether the correspondence backs the claim at all.
- Sources
Gets the messages of the conversation the claim rests on, in the order the producer named them, which is empty for a claim nothing supports.
- Text
Gets what the draft asserts, as one sentence.
Methods
- Create(string, IReadOnlyList<StoredEmailId>)
Records one thing a draft asserts.