Table of Contents

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

accountId MailAccountId

The account.

cancellationToken CancellationToken

Propagates 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.