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
settingsReaderISpamClassificationSettingsReaderAnswers whether classification runs, over which folders, and how long a verdict may take.
junkFoldersIJunkMailFolderCatalogAnswers which folder of an account its server files junk into.
timeProviderTimeProviderReads the moment a wait is measured against.
Exceptions
- ArgumentNullException
Thrown when any argument is null.