Table of Contents

Constructor MailboxChangeWithdrawer

Namespace
MailFathom.Application.Mail.Mutations.Authoring
Assembly
MailFathom.Application.dll

MailboxChangeWithdrawer(AccessAuthorization, MailboxScopeResolver, IMailboxMutationRecordStore, OptimisticConcurrencyRetryPolicy)

Initializes the use case over the grant it asks first and the records it withdraws.

public MailboxChangeWithdrawer(AccessAuthorization authorization, MailboxScopeResolver scopeResolver, IMailboxMutationRecordStore records, OptimisticConcurrencyRetryPolicy commitPolicy)

Parameters

authorization AccessAuthorization

Answers which principal reached this use case.

scopeResolver MailboxScopeResolver

Answers whose records these are and which folders the caller may reach.

records IMailboxMutationRecordStore

Reads and withdraws the durable records.

commitPolicy OptimisticConcurrencyRetryPolicy

Commits a call's withdrawals together, retrying an optimistic conflict.

Exceptions

ArgumentNullException

Thrown when a required collaborator is null.