Table of Contents

Method Resolve

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

Resolve(MailAccountId, MailFolderReference)

Resolves what a caller named into the folder of one account it refers to.

public MailFolderMapping? Resolve(MailAccountId accountId, MailFolderReference reference)

Parameters

accountId MailAccountId

The account the folder belongs to.

reference MailFolderReference

The alias or role the caller named.

Returns

MailFolderMapping

The mapping, or null when the reference names an alias configuration does not map.

Exceptions

ArgumentException

Thrown when reference is the unspecified struct default.

MailFolderRoleUnmappedException

Thrown when the reference names a role no folder of the account plays.