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
mappingsIMailFolderMappingReaderReads every folder the whole of configuration declares for the account.
declarationsIMailFolderDeclarationWriterReads and writes the folders the account's own record declares.
creatorIRemoteFolderCreatorCreates a folder on the mail server.
editorIRemoteFolderEditorRenames and deletes a folder on the mail server.
transportPoliciesIMailTransportSecurityPolicyReaderAnswers how the account's mail server is reached.
deleteDispositionsIAuthoredFolderDeleteDispositionReaderAnswers whether a deletion reaches the mail server at all.
signalsClientSignalsTells the user's open clients the folder set moved.
jobsIJobStoreQueues the removal of a deleted folder's stored mail.
authorizationAccessAuthorizationDecides whether the caller may act.
Exceptions
- ArgumentNullException
Thrown when any argument is null.