Method ReadServedAsync
- 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
cancellationTokenCancellationTokenCancels 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
amongIReadOnlyCollection<Guid>The accounts asked about; one this deployment does not serve is left out of the answer.
cancellationTokenCancellationTokenCancels the read.
Returns
- Task<IReadOnlyList<ServedMailAccountRow>>
The served accounts among those named, in the ordinal order of their identifiers.