Method UseAccountSettingsAsync
- Namespace
- MailFathom.Infrastructure.Mail
- Assembly
- MailFathom.Infrastructure.dll
UseAccountSettingsAsync(MailAccountId, CancellationToken)
Prepares the scope this instance belongs to with one account, before anything in it reads that account's settings.
Task<bool> UseAccountSettingsAsync(MailAccountId account, CancellationToken cancellationToken)
Parameters
accountMailAccountIdThe account the scope's work is for.
cancellationTokenCancellationTokenCancels the read.