Constructor MailboxSearchReader
- Namespace
- MailFathom.Application.Emails.SearchEmails
- Assembly
- MailFathom.Application.dll
MailboxSearchReader(IEmailSearchIndexReader, ISynchronizationFreshnessReader, MailboxScopeResolver, EmailSearchSnippetBounds)
Initializes the use case.
public MailboxSearchReader(IEmailSearchIndexReader searchIndexReader, ISynchronizationFreshnessReader freshnessReader, MailboxScopeResolver scopeResolver, EmailSearchSnippetBounds snippetBounds)
Parameters
searchIndexReaderIEmailSearchIndexReaderReads bounded ranked windows out of the lexical index.
freshnessReaderISynchronizationFreshnessReaderReads how current the local copy of each folder is.
scopeResolverMailboxScopeResolverDecides which accounts and folders the search runs against.
snippetBoundsEmailSearchSnippetBoundsHow much of a message's body one result may show.
Exceptions
- ArgumentNullException
Thrown when any argument is null.