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
runStoreIStoredContentMoveRunStoreReads what the operator asked for, and records what each pass made of it.
contentStoreIStoredContentMoveStoreNames the payloads the database still holds, reads one, and repoints it.
objectBackendIEmailContentObjectBackendPuts an object and reads it back, so a copy can be verified before a row points at it.
memoryBudgetRawMimeMemoryBudgetBounds what this process holds of a message while it is carrying one.
commitPolicyOptimisticConcurrencyRetryPolicyCommits the run's progress, resolving a race with an operator's decision.
telemetryIStoredContentMoveTelemetryPublishes what the pass carried and what it refused to carry.
optionsStoredContentMoveOptionsBounds one pass.
timeProviderTimeProviderStamps the instant each object was verified, and the instant the walk reached the end of the content.
authorizationAccessAuthorizationAnswers which principal reached this use case.
Exceptions
- ArgumentNullException
Thrown when an argument is null.