Table of Contents

Constructor EmailSpamClassificationHandler

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

EmailSpamClassificationHandler(IEmailSpamClassificationStore, EmailSpamClassifier, SpamActionRecorder)

Initializes the handler over the work one job describes.

public EmailSpamClassificationHandler(IEmailSpamClassificationStore classifications, EmailSpamClassifier classifier, SpamActionRecorder actionRecorder)

Parameters

classifications IEmailSpamClassificationStore

Reads the verdict an earlier attempt recorded, so a repeated attempt still acts on it.

classifier EmailSpamClassifier

Reaches a verdict about the stored email and records it.

actionRecorder SpamActionRecorder

Writes down whatever the operator's switches ask a verdict to do to the mailbox.

Exceptions

ArgumentNullException

Thrown when an argument is null.