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
folderAliasesIEnumerable<MailFolderAlias>The folders to walk, already resolved to the configured scope where the operator named none.
postureSpamActionPostureWhether the run acts on the mailbox.
rescoresboolWhether 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
folderAliasesis null.- ArgumentOutOfRangeException
Thrown when
postureis not a defined member.