Table of Contents

Constructor MirroredMailFolderEditor

Namespace
MailFathom.Application.Folders
Assembly
MailFathom.Application.dll

MirroredMailFolderEditor(IMailFolderMappingReader, IMailFolderDeclarationWriter, IRemoteFolderCreator, IRemoteFolderEditor, IMailTransportSecurityPolicyReader, IAuthoredFolderDeleteDispositionReader, ClientSignals, IJobStore, AccessAuthorization)

Initializes a new instance of the MirroredMailFolderEditor class.

public MirroredMailFolderEditor(IMailFolderMappingReader mappings, IMailFolderDeclarationWriter declarations, IRemoteFolderCreator creator, IRemoteFolderEditor editor, IMailTransportSecurityPolicyReader transportPolicies, IAuthoredFolderDeleteDispositionReader deleteDispositions, ClientSignals signals, IJobStore jobs, AccessAuthorization authorization)

Parameters

mappings IMailFolderMappingReader

Reads every folder the whole of configuration declares for the account.

declarations IMailFolderDeclarationWriter

Reads and writes the folders the account's own record declares.

creator IRemoteFolderCreator

Creates a folder on the mail server.

editor IRemoteFolderEditor

Renames and deletes a folder on the mail server.

transportPolicies IMailTransportSecurityPolicyReader

Answers how the account's mail server is reached.

deleteDispositions IAuthoredFolderDeleteDispositionReader

Answers whether a deletion reaches the mail server at all.

signals ClientSignals

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

jobs IJobStore

Queues the removal of a deleted folder's stored mail.

authorization AccessAuthorization

Decides whether the caller may act.

Exceptions

ArgumentNullException

Thrown when any argument is null.