Table of Contents

Method Judge

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

Judge(IReadOnlyList<GovernedMailAccount>, bool)

Judges the accounts one write reaches, each under the policies the write would leave it governed by.

IReadOnlyList<MailAccountPolicyJudgement> Judge(IReadOnlyList<GovernedMailAccount> accounts, bool underANarrowerGrant)

Parameters

accounts IReadOnlyList<GovernedMailAccount>

The accounts, each with the policies governing it now and the ones that would govern it.

underANarrowerGrant bool

Whether the write is made under a grant held below the deployment, which is bound by the secrets an account names.

Returns

IReadOnlyList<MailAccountPolicyJudgement>

One judgement per account, in the order given.

Exceptions

ArgumentNullException

Thrown when accounts is null.