Table of Contents

Method Create

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

Create(IEnumerable<MailFolderAlias>, SpamActionPosture, bool)

Builds the terms an operator's answers describe.

public static SpamClassificationRunTerms Create(IEnumerable<MailFolderAlias> folderAliases, SpamActionPosture posture, bool rescores)

Parameters

folderAliases IEnumerable<MailFolderAlias>

The folders to walk, already resolved to the configured scope where the operator named none.

posture SpamActionPosture

Whether the run acts on the mailbox.

rescores bool

Whether mail already decided under the run's profile is scored again.

Returns

SpamClassificationRunTerms

The terms, with the alias list deduplicated and ordered.

Exceptions

ArgumentNullException

Thrown when folderAliases is null.

ArgumentOutOfRangeException

Thrown when posture is not a defined member.