Method IsNamedBy
- Namespace
- MailFathom.Application.Accounts
- Assembly
- MailFathom.Application.dll
IsNamedBy(MailAccountSelector)
Reports whether text a request carried names this account.
public bool IsNamedBy(MailAccountSelector selector)
Parameters
selectorMailAccountSelectorThe text naming an account.
Returns
Remarks
The identifier is matched ordinally because it is a configured key that everything else compares exactly, and the display name without regard to case because it is prose an operator wrote for a person to retype. Both are compared against the whole value: a display name is never matched as a fragment, so naming one account can never select another whose name contains it.