Method TryParseName
- Namespace
- MailFathom.Application.Jobs
- Assembly
- MailFathom.Application.dll
TryParseName(string?, out JobType)
Parses a recorded name back into the job type it names.
public static bool TryParseName(string? name, out JobType jobType)
Parameters
namestringThe name read from a log, a stored row, or a serialized document.
jobTypeJobTypeThe parsed type when the name is declared; otherwise the unspecified default.
Returns
Remarks
A name this set does not hold is not accepted, so a type this build does not know is recognized as unknown rather than reconstructed as a value nothing runs.