Constructor MailAccountQueryableSettings
- Assembly
- MailFathom.Infrastructure.dll
MailAccountQueryableSettings(bool, MailSynchronizationMode, bool, IReadOnlyList<SensitiveContentScannerKind>, IReadOnlyList<SensitiveContentScannerKind>, IReadOnlyList<MailAccountQueryableFolder>)
The settings of one account a question about every account at once filters on, read out of its document.
public MailAccountQueryableSettings(bool IsReadable, MailSynchronizationMode SynchronizationMode, bool ClassifiesSpam, IReadOnlyList<SensitiveContentScannerKind> ScansFor, IReadOnlyList<SensitiveContentScannerKind> ScreensOutgoingMailFor, IReadOnlyList<MailAccountQueryableFolder> Folders)
Parameters
IsReadableboolWhether the document binds at all; an account whose document does not is served nothing and asks for nothing.
SynchronizationModeMailSynchronizationModeHow the account asked to be synchronized.
ClassifiesSpamboolWhether the account's mail is classified.
ScansForIReadOnlyList<SensitiveContentScannerKind>The scanners the account switched on for itself, whatever the deployment provides.
ScreensOutgoingMailForIReadOnlyList<SensitiveContentScannerKind>The scanners whose findings the account asked to stop a message it sends.
FoldersIReadOnlyList<MailAccountQueryableFolder>Every folder the account is run with, which is the inbox alone where its document maps none.
Remarks
The document stays the account's settings and this is never written on its own: the configuration layer reads it out of the document it binds, and the store writes both in one transaction, which is what keeps the two from disagreeing. Nothing here is composed with the deployment's own settings, so what an account asked for is recorded as it asked, and a reader composes it with whatever the deployment provides when it is read.