Table of Contents

Method Create

Namespace
MailFathom.Application.Discovery.Presentation
Assembly
MailFathom.Application.dll

Create(string?)

Creates a text a plan may carry.

public static PresentationText Create(string? text)

Parameters

text string

The text, which is trimmed of surrounding whitespace before it is checked.

Returns

PresentationText

The validated text.

Exceptions

ArgumentException

Thrown when the text is blank, longer than MaxLength, carries a control character, or is markup.