Method TryParsePresetName
- Namespace
- MailFathom.Common.MailboxOAuth
- Assembly
- MailFathom.Common.dll
TryParsePresetName(string?, out MailProviderPreset)
Parses an operator-supplied preset name, ignoring case and surrounding whitespace.
public static bool TryParsePresetName(string? presetName, out MailProviderPreset preset)
Parameters
presetNamestringThe configured preset name.
presetMailProviderPresetThe parsed preset when the name is supported; otherwise the unspecified default.