Table of Contents

Constructor EmailBodyCharacterAllowance

Namespace
MailFathom.Application.EmailContent.Rendering
Assembly
MailFathom.Application.dll

EmailBodyCharacterAllowance(int, EmailBodyTruncation)

How many characters one body representation may return, and which bound decided it.

public EmailBodyCharacterAllowance(int MaxCharacters, EmailBodyTruncation TruncationWhenCut)

Parameters

MaxCharacters int

The greatest number of characters the representation may hold.

TruncationWhenCut EmailBodyTruncation

The bound to report when the representation had more to give than this allows.

Remarks

The two travel together because the second is only knowable where the first is chosen. Once a representation has been cut, nothing about the text says which of the two limits cut it, and re-deriving that from the lengths afterwards would guess at what this type already knows.