Constructor MailFolderIdentity
- Namespace
- MailFathom.Domain.Folders
- Assembly
- MailFathom.Domain.dll
MailFolderIdentity(MailAccountId, MailFolderAlias)
Names one folder of one account, which is the pair a folder decision is always made about.
public MailFolderIdentity(MailAccountId AccountId, MailFolderAlias Alias)
Parameters
AccountIdMailAccountIdThe account the folder belongs to.
AliasMailFolderAliasMailFathom's own name for the folder.
Remarks
An alias is unique inside an account and nowhere else, so an alias on its own names a folder in as many mailboxes as happen to use the word. Every decision configuration makes about a folder — mirroring it, embedding it, letting a tool read it — therefore travels as this pair, and a query that narrowed by the alias alone would apply one account's decision to another account's mail.