Constructor MailboxExportHandler
- Namespace
- MailFathom.Application.Mail.Export
- Assembly
- MailFathom.Application.dll
MailboxExportHandler(IMailboxExportStore, IMailboxExportReader, IMailboxExportArchiveStore, IEmailContentStore, IMailboxExportAuditor, MailboxExportSettings, TimeProvider)
Initializes the handler.
public MailboxExportHandler(IMailboxExportStore exports, IMailboxExportReader reader, IMailboxExportArchiveStore archives, IEmailContentStore content, IMailboxExportAuditor auditor, MailboxExportSettings settings, TimeProvider timeProvider)
Parameters
exportsIMailboxExportStoreReads the export and records what became of it.
readerIMailboxExportReaderWalks the folders and the messages the archive is written from.
archivesIMailboxExportArchiveStoreOpens the write the archive is produced into.
contentIEmailContentStoreReads one stored payload at a time.
auditorIMailboxExportAuditorRecords that the archive was written.
settingsMailboxExportSettingsBounds how large the archive may be and how long it is kept.
timeProviderTimeProviderStamps the completion and the retention period.
Exceptions
- ArgumentNullException
Thrown when an argument is null.