Class MailboxDestinations
- Namespace
- MailFathom.Application.Mail.Mutations.Destinations
- Assembly
- MailFathom.Application.dll
Every destination one batch of authored changes names, already turned into folders on the server.
public sealed class MailboxDestinations
- Inheritance
-
MailboxDestinations
- Inherited Members
Remarks
It exists so that resolving a destination and writing a mutation down are two steps a caller cannot take in the wrong order. Resolution can reach the mail server, which must not happen while a local transaction is open, so the author is handed the answers rather than the resolver and cannot ask for one halfway through a commit.
A destination nobody asked to have resolved is reported as Unbound, which is what an author with no answer for a folder truthfully has: nothing here invents a path, and the action fails visibly rather than filing mail somewhere nobody named.
Properties
- None
Gets the answers for a batch that named no destination at all.
Methods
- Find(MailFolderReference)
Finds what one destination resolved to.