Table of Contents

Constructor DerivedWorkGate

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

DerivedWorkGate(ISpamClassificationSettingsReader, IJunkMailFolderCatalog, TimeProvider)

Initializes the gate from the decisions it obeys.

public DerivedWorkGate(ISpamClassificationSettingsReader settingsReader, IJunkMailFolderCatalog junkFolders, TimeProvider timeProvider)

Parameters

settingsReader ISpamClassificationSettingsReader

Answers whether classification runs, over which folders, and how long a verdict may take.

junkFolders IJunkMailFolderCatalog

Answers which folder of an account its server files junk into.

timeProvider TimeProvider

Reads the moment a wait is measured against.

Exceptions

ArgumentNullException

Thrown when any argument is null.