Method BindIdentifiersAsync
- Namespace
- MailFathom.Application.Emails.Threads
- Assembly
- MailFathom.Application.dll
BindIdentifiersAsync(IPersistenceSession, MailAccountId, IReadOnlyList<string>, EmailThreadId, CancellationToken)
Binds identifiers this account does not bind yet to one conversation.
Task BindIdentifiersAsync(IPersistenceSession session, MailAccountId accountId, IReadOnlyList<string> identifiers, EmailThreadId threadId, CancellationToken cancellationToken)
Parameters
sessionIPersistenceSessionThe transaction the bindings are written in.
accountIdMailAccountIdThe account the identifiers were seen in.
identifiersIReadOnlyList<string>The identifiers to bind, which the caller has established are unbound.
threadIdEmailThreadIdThe conversation to bind them to.
cancellationTokenCancellationTokenPropagates caller cancellation.