Table of Contents

Constructor MailSearchBrowser

Namespace
MailFathom.Application.Emails.BrowseSearch
Assembly
MailFathom.Application.dll

MailSearchBrowser(IEmailSearchIndexReader, IEmailAttachmentMatchReader, SemanticEmailSearch, IStoredEmailPreviewReader, MailboxScopeResolver, EmailSearchSnippetBounds, SensitiveContentEgressGuard, IMailboxReadTelemetry, AccessAuthorization)

Initializes the use case.

public MailSearchBrowser(IEmailSearchIndexReader searchIndexReader, IEmailAttachmentMatchReader attachmentMatchReader, SemanticEmailSearch semanticSearch, IStoredEmailPreviewReader previewReader, MailboxScopeResolver scopeResolver, EmailSearchSnippetBounds snippetBounds, SensitiveContentEgressGuard egressGuard, IMailboxReadTelemetry readTelemetry, AccessAuthorization authorization)

Parameters

searchIndexReader IEmailSearchIndexReader

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

attachmentMatchReader IEmailAttachmentMatchReader

Reads which attachment of a result the query reached, and where inside the file.

semanticSearch SemanticEmailSearch

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

previewReader IStoredEmailPreviewReader

Reads the bounded opening of the text of the emails a page returned.

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 page 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.

authorization AccessAuthorization

Answers which principal reached this use case.

Exceptions

ArgumentNullException

Thrown when any argument is null.