Class MailQuoteBlock
- Namespace
- MailFathom.Application.EmailContent.Rendering.Document.Blocks
- Assembly
- MailFathom.Application.dll
Quoted history, at the depth the message quoted it.
public sealed record MailQuoteBlock : MailDocumentBlock, IEquatable<MailDocumentBlock>, IEquatable<MailQuoteBlock>
- Inheritance
-
MailQuoteBlock
- Implements
- Inherited Members
Remarks
Depth is carried rather than left to nesting alone, so a pane can draw the fourth level of a long exchange as the fourth level without walking back up to count. Nothing is trimmed here: a reader asked to read the message, and quoted history is part of what they were sent.
The depth a pane draws is bounded by the pane rather than by the message, which is what keeps a body quoted a hundred deep from indenting itself off the side of the reading column.
Constructors
- MailQuoteBlock(int, IReadOnlyList<MailDocumentBlock>)
Initializes a quotation.
Properties
- Blocks
Gets what the quotation holds, in reading order.
- Depth
Gets how deep the quotation is, counting from one for the message's own first level.