Class MailRuleHistory
- Namespace
- MailFathom.Application.Rules.History
- Assembly
- MailFathom.Application.dll
Reads what this deployment's rules concluded about one account's mail.
public sealed class MailRuleHistory
- Inheritance
-
MailRuleHistory
- Inherited Members
Remarks
The store is written by every evaluation pass and aged by retention. This is the reading, separated so that the grant is asked where the history is served: what a rule concluded about a message is derived from that message, which is why it is published under the audit grant rather than under the one covering reports of the deployment's own state.
Which rules are loaded is a different question and a different grant — MailRuleSetReader answers it — because a rule set says what this deployment will do and a history says what it did to somebody's mail.
Constructors
- MailRuleHistory(IMailRuleExecutionStore, AccessAuthorization)
Initializes the reading over the recorded executions.
Methods
- ReadPageAsync(MailRuleExecutionQuery, CancellationToken)
Reads one page of an account's rule history.