Constructor MailboxDestinationResolver
- Namespace
- MailFathom.Application.Mail.Mutations.Destinations
- Assembly
- MailFathom.Application.dll
MailboxDestinationResolver(MailFolderReferenceResolver, IMailFolderResolutionStore, MailFolderResolver, IMailTransportSecurityPolicyReader, ILocalMailFolderStore)
Initializes the resolver from the two ways a destination is turned into a folder.
public MailboxDestinationResolver(MailFolderReferenceResolver folderReferences, IMailFolderResolutionStore folderResolutions, MailFolderResolver folderResolver, IMailTransportSecurityPolicyReader transportSecurityPolicies, ILocalMailFolderStore localFolders)
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.
localFoldersILocalMailFolderStoreAnswers whether the account is held, where no destination is resolved against its server.
Exceptions
- ArgumentNullException
Thrown when a collaborator is null.