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