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
folderReferencesMailFolderReferenceResolverTurns the alias or the role an author named into the mapping of the account it means.
folderResolutionsIMailFolderResolutionStoreReads the binding a mirrored folder's run has already recorded.
folderResolverMailFolderResolverResolves a mapped folder against what its server advertises, and records the binding.
transportSecurityPoliciesIMailTransportSecurityPolicyReaderSupplies the connection and authentication policy an on-demand resolution obeys.
Exceptions
- ArgumentNullException
Thrown when a collaborator is null.