Constructor MailFolderDirectoryReader
- Namespace
- MailFathom.Application.Folders
- Assembly
- MailFathom.Application.dll
MailFolderDirectoryReader(MailAccountFreshnessReader, MailboxScopeResolver, IStoredMailFolderReader, IMailFolderMappingReader)
Initializes the use case.
public MailFolderDirectoryReader(MailAccountFreshnessReader accountReader, MailboxScopeResolver scopeResolver, IStoredMailFolderReader storedFolders, IMailFolderMappingReader folderMappings)
Parameters
accountReaderMailAccountFreshnessReaderReads the caller's accounts and how current each one and each of its folders is.
scopeResolverMailboxScopeResolverAnswers which of those accounts' folders may be reported on.
storedFoldersIStoredMailFolderReaderReads where each folder sits on its mail server and how much of it is stored.
folderMappingsIMailFolderMappingReaderAnswers which role configuration labelled each folder with.
Exceptions
- ArgumentNullException
Thrown when any argument is null.