Constructor LocalMailFolderEditor
- Namespace
- MailFathom.Application.Folders.Local
- Assembly
- MailFathom.Application.dll
LocalMailFolderEditor(ILocalMailFolderStore, OptimisticConcurrencyRetryPolicy, ILocalMailFolderChangeAuditor, ClientSignals, IJobStore, AccessAuthorization, TimeProvider)
Initializes a new instance of the LocalMailFolderEditor class.
public LocalMailFolderEditor(ILocalMailFolderStore store, OptimisticConcurrencyRetryPolicy concurrencyRetryPolicy, ILocalMailFolderChangeAuditor auditor, ClientSignals signals, IJobStore jobs, AccessAuthorization authorization, TimeProvider timeProvider)
Parameters
storeILocalMailFolderStorePersists the folders.
concurrencyRetryPolicyOptimisticConcurrencyRetryPolicyCommits an edit, deciding again from a fresh read when another edit won.
auditorILocalMailFolderChangeAuditorRecords each committed change.
signalsClientSignalsTells the caller's open clients the folder set moved.
jobsIJobStoreQueues the erasure of an erased folder's mail.
authorizationAccessAuthorizationDecides whether the caller may act.
timeProviderTimeProviderSupplies the instant new identities and audit records are stamped with.
Exceptions
- ArgumentNullException
Thrown when any argument is null.