Table of Contents

Constructor SpamClassificationRunRequest

Namespace
MailFathom.Application.Spam.Runs
Assembly
MailFathom.Application.dll

SpamClassificationRunRequest(SpamClassificationRun, bool)

What asking for a whole-mailbox classification run produced.

public SpamClassificationRunRequest(SpamClassificationRun Run, bool Accepted)

Parameters

Run SpamClassificationRun

The run the account now has outstanding, which is the one already going when nothing was started.

Accepted bool

Whether this request is what put that run in front of the account.

Remarks

A request that started nothing is an answer rather than a refusal, and the terms it carried are deliberately not applied to the run already under way: a walk that has scored half a mailbox as a dry run cannot become one that acts halfway through, because the half already behind it would never be acted on. The caller is told which of the two happened and can read the outstanding run's own terms from it.