Table of Contents

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

store ILocalMailFolderStore

Persists the folders.

concurrencyRetryPolicy OptimisticConcurrencyRetryPolicy

Commits an edit, deciding again from a fresh read when another edit won.

auditor ILocalMailFolderChangeAuditor

Records each committed change.

signals ClientSignals

Tells the caller's open clients the folder set moved.

jobs IJobStore

Queues the erasure of an erased folder's mail.

authorization AccessAuthorization

Decides whether the caller may act.

timeProvider TimeProvider

Supplies the instant new identities and audit records are stamped with.

Exceptions

ArgumentNullException

Thrown when any argument is null.