Class MailRuleEvaluationRunReader
- Namespace
- MailFathom.Application.Rules.Evaluation
- Assembly
- MailFathom.Application.dll
Reports where one account's whole-mailbox rule run has got to.
public sealed class MailRuleEvaluationRunReader
- Inheritance
-
MailRuleEvaluationRunReader
- Inherited Members
Remarks
Reading a run is separated from asking for one — MailRuleEvaluationRunRequests — because the two are reached under different grants and neither implies the other: watching a pass is a report of what this deployment is doing, while starting one changes mail on somebody's server. An operator can therefore provision a credential that watches a run it cannot start.
Constructors
- MailRuleEvaluationRunReader(IMailRuleEvaluationRunStore, AccessAuthorization)
Initializes the reading over the run store.
Methods
- FindLatestAsync(MailAccountId, CancellationToken)
Reads the run one account has outstanding, or the last one it finished.