Table of Contents

Method Scored

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

Scored(SpamAssessment, IReadOnlyList<string>, string)

Records what a scanner answered.

public static SpamScanResult Scored(SpamAssessment assessment, IReadOnlyList<string> firedRules, string corpusRevision)

Parameters

assessment SpamAssessment

The score and the threshold it was judged against.

firedRules IReadOnlyList<string>

The names of the rules that fired.

corpusRevision string

The corpus the rules came from.

Returns

SpamScanResult

The result, holding no more than MaximumFiredRules rule names.

Exceptions

ArgumentNullException

Thrown when assessment or firedRules is null.

ArgumentException

Thrown when corpusRevision is blank.