Table of Contents

Method ReadServedAsync

Namespace
MailFathom.Infrastructure.Persistence.Users.AccountSettings
Assembly
MailFathom.Infrastructure.dll

ReadServedAsync(CancellationToken)

Reads every account this deployment serves, by the columns that name it.

Task<IReadOnlyList<ServedMailAccountRow>> ReadServedAsync(CancellationToken cancellationToken)

Parameters

cancellationToken CancellationToken

Cancels the read.

Returns

Task<IReadOnlyList<ServedMailAccountRow>>

The served accounts, in the ordinal order of their identifiers.

ReadServedAsync(IReadOnlyCollection<Guid>, CancellationToken)

Reads which of the named accounts this deployment serves, by the columns that name them.

Task<IReadOnlyList<ServedMailAccountRow>> ReadServedAsync(IReadOnlyCollection<Guid> among, CancellationToken cancellationToken)

Parameters

among IReadOnlyCollection<Guid>

The accounts asked about; one this deployment does not serve is left out of the answer.

cancellationToken CancellationToken

Cancels the read.

Returns

Task<IReadOnlyList<ServedMailAccountRow>>

The served accounts among those named, in the ordinal order of their identifiers.