Table of Contents

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

name string

The name read from a log, a stored row, or a serialized document.

jobType JobType

The parsed type when the name is declared; otherwise the unspecified default.

Returns

bool

true when the name is a declared job type; otherwise false.

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.