Method Judge
- 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
accountsIReadOnlyList<GovernedMailAccount>The accounts, each with the policies governing it now and the ones that would govern it.
underANarrowerGrantboolWhether 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
accountsis null.