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
searchIndexReaderIEmailSearchIndexReaderRanks mail against the query text and reads the window a ranking selected.
attachmentMatchReaderIEmailAttachmentMatchReaderReads which attachment of a result the query reached, and where inside the file.
semanticSearchSemanticEmailSearchRanks mail by meaning, or reports that this instance cannot.
previewReaderIStoredEmailPreviewReaderReads the bounded opening of the text of the emails a page returned.
scopeResolverMailboxScopeResolverDecides which accounts and folders the search runs against.
snippetBoundsEmailSearchSnippetBoundsHow much of a message's body one result may show.
egressGuardSensitiveContentEgressGuardScans what the page is about to publish, where this deployment scans anything.
readTelemetryIMailboxReadTelemetryPublishes the search as the operation it is, beside the call it happened inside.
authorizationAccessAuthorizationAnswers which principal reached this use case.
Exceptions
- ArgumentNullException
Thrown when any argument is null.