Table of Contents

Method TryCreate

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

TryCreate(string?, out PresentationText)

Creates a text a plan may carry, reporting whether the value was acceptable instead of throwing.

public static bool TryCreate(string? text, out PresentationText created)

Parameters

text string

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

created PresentationText

The validated text when the value is acceptable; otherwise the unspecified default.

Returns

bool

true when the value is text a plan may carry; otherwise false.