Property NothingReadable
- Namespace
- MailFathom.Application.Emails.Mailboxes
- Assembly
- MailFathom.Application.dll
NothingReadable
Gets the scope that names no account, no folder, and nothing readable.
public static MailboxScope NothingReadable { get; }
Property Value
Remarks
Two callers resolve to it. A deployment serving no account is the first and the older one. The second is a caller acting for a user assigned none of the accounts the deployment does serve, which is a real read on a populated deployment rather than a degenerate configuration — MailboxScopeResolver answers it with this scope before any folder decision is applied, because those decisions are the deployment's and would otherwise admit every other mailbox's folders beside an account list that names none.
A use case handed it answers with nothing, which is what both cases have to mean: there is no mail this caller
may read. The account list is the whole of the narrowing now that no mail row carries a user, so an empty one
has to mean nothing rather than everything — StoredEmailSelectionPredicate.WithinScope composes the
containment unconditionally for exactly that reason, and this scope names no folder as well.