Interface ISpamClassificationHistoryReader
- Namespace
- MailFathom.Application.Spam.History
- Assembly
- MailFathom.Application.dll
Reads back what classification concluded about an account's mail, and what those conclusions asked for.
public interface ISpamClassificationHistoryReader
Remarks
A reading port rather than a store, because nothing here writes and nothing here owns a table. What it composes is the classification record beside the mutation records a verdict opened, which are two things that already exist and are already erased with the mail they describe — so the read-back inherits every retention and erasure obligation it would otherwise have had to be given.
The projection is what keeps it safe to serve over an administrative endpoint. A signal's observation is text a mail server wrote and can carry a sending domain, so the reader returns signal names alone and never reaches a value; a mutation is named and pointed at rather than described, so what became of it stays the mutation trail's one answer.
Methods
- ReadPageAsync(SpamClassificationHistoryQuery, CancellationToken)
Reads one bounded page of an account's classifications, newest first.