Constructor MailQuoteBlock
- Namespace
- MailFathom.Application.EmailContent.Rendering.Document.Blocks
- Assembly
- MailFathom.Application.dll
MailQuoteBlock(int, IReadOnlyList<MailDocumentBlock>)
Initializes a quotation.
public MailQuoteBlock(int depth, IReadOnlyList<MailDocumentBlock> blocks)
Parameters
depthintHow deep the quotation is, counting from one for the message's own first level.
blocksIReadOnlyList<MailDocumentBlock>What the quotation holds, in reading order.
Exceptions
- ArgumentNullException
Thrown when
blocksis null.- ArgumentOutOfRangeException
Thrown when the depth is below one.