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
textstringThe text, which is trimmed of surrounding whitespace before it is checked.
createdPresentationTextThe validated text when the value is acceptable; otherwise the unspecified default.