Table of Contents

Constructor MailAccountPolicyJudgement

Namespace
MailFathom.Infrastructure.Persistence.Policies.MailAccounts
Assembly
MailFathom.Infrastructure.dll

MailAccountPolicyJudgement(MailAccountQueryableSettings?, IReadOnlyList<string>)

What judging one mail account under the policies a write would leave it governed by answered.

public MailAccountPolicyJudgement(MailAccountQueryableSettings? Settings, IReadOnlyList<string> Refusals)

Parameters

Settings MailAccountQueryableSettings

The settings the account's columns are to hold, or null where the write leaves them as they stand: the account resolves to the same queryable settings under both readings, or it cannot be resolved under the candidate policies at all.

Refusals IReadOnlyList<string>

One sentence per reason the write may not reach this account, empty where it may.

Remarks

An account that was already unservable before the write refuses nothing, for the reason a user's record refuses nothing then: the write did not break it, and refusing every policy over a row somebody has yet to correct would leave the policy unwritable for a reason its author cannot act on.