Method AliasesTheAccountDeclaresAsync
- Namespace
- MailFathom.Application.Folders
- Assembly
- MailFathom.Application.dll
AliasesTheAccountDeclaresAsync(MailAccountId, CancellationToken)
Reads the aliases the account's own record declares, which are the folders this surface may act on.
Task<IReadOnlySet<MailFolderAlias>> AliasesTheAccountDeclaresAsync(MailAccountId accountId, CancellationToken cancellationToken)
Parameters
accountIdMailAccountIdThe account.
cancellationTokenCancellationTokenPropagates caller cancellation.
Returns
- Task<IReadOnlySet<MailFolderAlias>>
The aliases, empty where the record declares none or names no such account.
Remarks
Asked by the reader that publishes which acts a folder allows, so a folder an operator fixed is reported as allowing none rather than refusing the act after the person has asked for it.