Table of Contents

Constructor MailboxSearchReader

Namespace
MailFathom.Application.Emails.SearchEmails
Assembly
MailFathom.Application.dll

MailboxSearchReader(IEmailSearchIndexReader, SemanticEmailSearch, ISynchronizationFreshnessReader, MailboxScopeResolver, EmailSearchSnippetBounds, SensitiveContentEgressGuard, IMailboxReadTelemetry)

Initializes the use case.

public MailboxSearchReader(IEmailSearchIndexReader searchIndexReader, SemanticEmailSearch semanticSearch, ISynchronizationFreshnessReader freshnessReader, MailboxScopeResolver scopeResolver, EmailSearchSnippetBounds snippetBounds, SensitiveContentEgressGuard egressGuard, IMailboxReadTelemetry readTelemetry)

Parameters

searchIndexReader IEmailSearchIndexReader

Ranks mail against the query text and reads the window a ranking selected.

semanticSearch SemanticEmailSearch

Ranks mail by meaning, or reports that this instance cannot.

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.

egressGuard SensitiveContentEgressGuard

Scans what the window is about to publish, where this deployment scans anything.

readTelemetry IMailboxReadTelemetry

Publishes the search as the operation it is, beside the call it happened inside.

Exceptions

ArgumentNullException

Thrown when any argument is null.