Table of Contents

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

depth int

How deep the quotation is, counting from one for the message's own first level.

blocks IReadOnlyList<MailDocumentBlock>

What the quotation holds, in reading order.

Exceptions

ArgumentNullException

Thrown when blocks is null.

ArgumentOutOfRangeException

Thrown when the depth is below one.