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
searchIndexReaderIEmailSearchIndexReaderRanks mail against the query text and reads the window a ranking selected.
semanticSearchSemanticEmailSearchRanks mail by meaning, or reports that this instance cannot.
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.
egressGuardSensitiveContentEgressGuardScans what the window is about to publish, where this deployment scans anything.
readTelemetryIMailboxReadTelemetryPublishes the search as the operation it is, beside the call it happened inside.
Exceptions
- ArgumentNullException
Thrown when any argument is null.