Table of Contents

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

authorization AccessAuthorization

Answers which principal reached this use case, and under which grant.

exports IMailboxExportStore

Keeps the record of every export.

reader IMailboxExportReader

Measures what an export would carry.

archives IMailboxExportArchiveStore

Says whether this deployment can keep an archive at all, and serves and removes the ones it has.

auditor IMailboxExportAuditor

Records who asked for what.

jobs IJobStore

Queues the work that writes an archive.

ceiling StoredContentCeiling

Answers whether the deployment's storage has room for a second copy of the mailbox.

settings MailboxExportSettings

Bounds how large an archive may be and how long one is kept.

timeProvider TimeProvider

Stamps each request and each retention period.

Exceptions

ArgumentNullException

Thrown when an argument is null.