Method Create
- Namespace
- MailFathom.Application.Discovery.Presentation.Citations
- Assembly
- MailFathom.Application.dll
Create(string?)
Creates a citation identifier.
public static PresentationCitationId Create(string? value)
Parameters
valuestringThe identifier, which is trimmed of surrounding whitespace before it is checked.
Returns
- PresentationCitationId
The validated identifier.
Exceptions
- ArgumentException
Thrown when the value is blank, longer than MaxLength, or spelled with anything but lower-case ASCII letters, digits, and hyphens.