Method TryParse
- Namespace
- MailFathom.Domain.Access
- Assembly
- MailFathom.Domain.dll
TryParse(string?, out UserCredentialMethod)
Parses a name written outside this process.
public static bool TryParse(string? name, out UserCredentialMethod method)
Parameters
namestringThe written name, in the published lower-case hyphenated form.
methodUserCredentialMethodThe method the name declares, or the unspecified default when it declares none.
Returns
Remarks
The comparison is ordinal and case-insensitive, because the name is written by hand in a configuration file and on a command line, and no two published names differ by case alone.