Class MailListBlock
- Namespace
- MailFathom.Application.EmailContent.Rendering.Document.Blocks
- Assembly
- MailFathom.Application.dll
A bulleted or numbered list, with whatever each of its items holds.
public sealed record MailListBlock : MailDocumentBlock, IEquatable<MailDocumentBlock>, IEquatable<MailListBlock>
- Inheritance
-
MailListBlock
- Implements
- Inherited Members
Remarks
An item holds blocks rather than runs, because mail nests a list inside a list and puts a table inside an item. The depth that costs is bounded during the reduction rather than by this type, so a document is bounded by what produced it and a client walks what it is given.
Constructors
- MailListBlock(bool, IReadOnlyList<MailListItem>)
Initializes a list.
Properties
- Items
Gets the items, in the order the message wrote them.
- Ordered
Gets whether the list numbers its items rather than bulleting them.