Interface IMailAnsweringAuditEntryStore
- Namespace
- MailFathom.Application.Retrieval.AskMail.Audit
- Assembly
- MailFathom.Application.dll
Keeps the record of the questions this deployment answered from each account's mailbox.
public interface IMailAnsweringAuditEntryStore
Remarks
The record is append-only through this port. Nothing amends an entry, because an entry states a run that has already ended; the only writes besides an append are the erasure the account's retention calls for, which removes whole entries, and the deletion of an email, which reaches the entries naming it through that email's own deletion path rather than through anything here.
Methods
- AppendAsync(IPersistenceSession, MailAnsweringAuditEntry, CancellationToken)
Appends one entry to the record.
- EraseCompletedBeforeAsync(MailAccountId, DateTimeOffset, int, CancellationToken)
Erases up to a bounded number of one account's entries that ended before a given instant.
- ReadPageAsync(MailAnsweringAuditQuery, CancellationToken)
Reads one bounded page of an account's record, newest first.