Table of Contents

Constructor OccurrenceSpamClassificationHandler

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

OccurrenceSpamClassificationHandler(IClassifiableEmailReader, EmailSpamClassificationHandler)

Initializes the handler over the resolution and the classification it hands the result to.

public OccurrenceSpamClassificationHandler(IClassifiableEmailReader emails, EmailSpamClassificationHandler storedEmailClassification)

Parameters

emails IClassifiableEmailReader

Turns the occurrence the payload names into the stored email it was stored as.

storedEmailClassification EmailSpamClassificationHandler

Classifies the stored email and acts on the verdict.

Exceptions

ArgumentNullException

Thrown when an argument is null.