Table of Contents

Constructor MailRuleEvaluationRunRequests

Namespace
MailFathom.Application.Rules.Evaluation
Assembly
MailFathom.Application.dll

MailRuleEvaluationRunRequests(IMailRuleEvaluationRunStore, OptimisticConcurrencyRetryPolicy, TimeProvider)

Initializes the request intake.

public MailRuleEvaluationRunRequests(IMailRuleEvaluationRunStore runStore, OptimisticConcurrencyRetryPolicy commitPolicy, TimeProvider timeProvider)

Parameters

runStore IMailRuleEvaluationRunStore

Reads whether a run is outstanding and records the one this request asks for.

commitPolicy OptimisticConcurrencyRetryPolicy

Makes the read and the write one decision, and resolves a race with a competing request.

timeProvider TimeProvider

Stamps the request.

Exceptions

ArgumentNullException

Thrown when a collaborator is null.