Method TryCreate
- Namespace
- MailFathom.Domain.Calendar
- Assembly
- MailFathom.Domain.dll
TryCreate(string?, out CalendarEventTitle)
Reads a title, refusing one that is blank, too long, or carrying a character that renders as nothing.
public static bool TryCreate(string? value, out CalendarEventTitle title)
Parameters
valuestringThe title as supplied.
titleCalendarEventTitleThe title, when it is one.
Returns
Remarks
MailFathom.Domain.Calendar.CalendarText holds which characters those are, and why the text is walked as Unicode scalars rather than as UTF-16 code units.