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
authorizationAccessAuthorizationAnswers which principal reached this use case.
scopeResolverMailboxScopeResolverAnswers whose records these are and which folders the caller may reach.
recordsIMailboxMutationRecordStoreReads and withdraws the durable records.
commitPolicyOptimisticConcurrencyRetryPolicyCommits a call's withdrawals together, retrying an optimistic conflict.
Exceptions
- ArgumentNullException
Thrown when a required collaborator is null.