Table of Contents

Method TryCreate

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

TryCreate(string?, out PresentationCitationId)

Creates a citation identifier, reporting whether the value was acceptable instead of throwing.

public static bool TryCreate(string? value, out PresentationCitationId created)

Parameters

value string

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

created PresentationCitationId

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

Returns

bool

true when the value names a citation; otherwise false.