Method For
- Namespace
- MailFathom.Application.Synchronization
- Assembly
- MailFathom.Application.dll
For(MailAccountId)
Composes the scope every replica configured with an account asks for.
public static WorkScope For(MailAccountId account)
Parameters
accountMailAccountIdThe account supervised.
Returns
- WorkScope
The scope one account's supervision is held under.
Remarks
An account identifier the scope cannot carry — longer than it leaves room for, or holding a control character — is named by its SHA-256 digest instead. Configuration accepts identifiers far longer than a scope, and a scope that could not be composed would end supervision for every account on the replica rather than for that one.