Table of Contents

Constructor StoredContentMove

Namespace
MailFathom.Application.EmailContent.Move
Assembly
MailFathom.Application.dll

StoredContentMove(IStoredContentMoveRunStore, IStoredContentMoveStore, IEmailContentObjectBackend, RawMimeMemoryBudget, OptimisticConcurrencyRetryPolicy, IStoredContentMoveTelemetry, StoredContentMoveOptions, TimeProvider, AccessAuthorization)

Initializes the move.

public StoredContentMove(IStoredContentMoveRunStore runStore, IStoredContentMoveStore contentStore, IEmailContentObjectBackend objectBackend, RawMimeMemoryBudget memoryBudget, OptimisticConcurrencyRetryPolicy commitPolicy, IStoredContentMoveTelemetry telemetry, StoredContentMoveOptions options, TimeProvider timeProvider, AccessAuthorization authorization)

Parameters

runStore IStoredContentMoveRunStore

Reads what the operator asked for, and records what each pass made of it.

contentStore IStoredContentMoveStore

Names the payloads the database still holds, reads one, and repoints it.

objectBackend IEmailContentObjectBackend

Puts an object and reads it back, so a copy can be verified before a row points at it.

memoryBudget RawMimeMemoryBudget

Bounds what this process holds of a message while it is carrying one.

commitPolicy OptimisticConcurrencyRetryPolicy

Commits the run's progress, resolving a race with an operator's decision.

telemetry IStoredContentMoveTelemetry

Publishes what the pass carried and what it refused to carry.

options StoredContentMoveOptions

Bounds one pass.

timeProvider TimeProvider

Stamps the instant each object was verified, and the instant the walk reached the end of the content.

authorization AccessAuthorization

Answers which principal reached this use case.

Exceptions

ArgumentNullException

Thrown when an argument is null.