Table of Contents

Constructor MailboxDestinationResolver

Namespace
MailFathom.Application.Mail.Mutations.Destinations
Assembly
MailFathom.Application.dll

MailboxDestinationResolver(MailFolderReferenceResolver, IMailFolderResolutionStore, MailFolderResolver, IMailTransportSecurityPolicyReader)

Initializes the resolver from the two ways a destination is turned into a folder.

public MailboxDestinationResolver(MailFolderReferenceResolver folderReferences, IMailFolderResolutionStore folderResolutions, MailFolderResolver folderResolver, IMailTransportSecurityPolicyReader transportSecurityPolicies)

Parameters

folderReferences MailFolderReferenceResolver

Turns the alias or the role an author named into the mapping of the account it means.

folderResolutions IMailFolderResolutionStore

Reads the binding a mirrored folder's run has already recorded.

folderResolver MailFolderResolver

Resolves a mapped folder against what its server advertises, and records the binding.

transportSecurityPolicies IMailTransportSecurityPolicyReader

Supplies the connection and authentication policy an on-demand resolution obeys.

Exceptions

ArgumentNullException

Thrown when a collaborator is null.