Constructor MailboxSearchReader
- Namespace
- MailFathom.Application.Emails.SearchEmails
- Assembly
- MailFathom.Application.dll
MailboxSearchReader(IEmailSearchIndexReader, IEmailAttachmentMatchReader, SemanticEmailSearch, ISynchronizationFreshnessReader, MailboxScopeResolver, EmailSearchSnippetBounds, SensitiveContentEgressGuard, IMailboxReadTelemetry, AccessAuthorization)
Initializes the use case.
public MailboxSearchReader(IEmailSearchIndexReader searchIndexReader, IEmailAttachmentMatchReader attachmentMatchReader, SemanticEmailSearch semanticSearch, ISynchronizationFreshnessReader freshnessReader, 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.
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.
authorizationAccessAuthorizationAnswers which principal reached this use case.
Exceptions
- ArgumentNullException
Thrown when any argument is null.