Table of Contents

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

searchIndexReader IEmailSearchIndexReader

Reads bounded ranked windows out of the lexical index.

freshnessReader ISynchronizationFreshnessReader

Reads how current the local copy of each folder is.

scopeResolver MailboxScopeResolver

Decides which accounts and folders the search runs against.

snippetBounds EmailSearchSnippetBounds

How much of a message's body one result may show.

Exceptions

ArgumentNullException

Thrown when any argument is null.