Constructor MailboxExports
- Namespace
- MailFathom.Application.Mail.Export
- Assembly
- MailFathom.Application.dll
MailboxExports(AccessAuthorization, IMailboxExportStore, IMailboxExportReader, IMailboxExportArchiveStore, IMailboxExportAuditor, IJobStore, StoredContentCeiling, MailboxExportSettings, TimeProvider)
Initializes the use case.
public MailboxExports(AccessAuthorization authorization, IMailboxExportStore exports, IMailboxExportReader reader, IMailboxExportArchiveStore archives, IMailboxExportAuditor auditor, IJobStore jobs, StoredContentCeiling ceiling, MailboxExportSettings settings, TimeProvider timeProvider)
Parameters
authorizationAccessAuthorizationAnswers which principal reached this use case, and under which grant.
exportsIMailboxExportStoreKeeps the record of every export.
readerIMailboxExportReaderMeasures what an export would carry.
archivesIMailboxExportArchiveStoreSays whether this deployment can keep an archive at all, and serves and removes the ones it has.
auditorIMailboxExportAuditorRecords who asked for what.
jobsIJobStoreQueues the work that writes an archive.
ceilingStoredContentCeilingAnswers whether the deployment's storage has room for a second copy of the mailbox.
settingsMailboxExportSettingsBounds how large an archive may be and how long one is kept.
timeProviderTimeProviderStamps each request and each retention period.
Exceptions
- ArgumentNullException
Thrown when an argument is null.