Table of Contents

Constructor SettingsPolicyCommit

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

SettingsPolicyCommit(SettingsPolicyCommitResult, long?, int, IReadOnlyList<SettingsPolicyRecordInTheWay>?, int)

What one attempt to commit a settings policy did.

public SettingsPolicyCommit(SettingsPolicyCommitResult Result, long? Version = null, int GovernedRecords = 0, IReadOnlyList<SettingsPolicyRecordInTheWay>? RecordsInTheWay = null, int RecordsLeftInvalid = 0)

Parameters

Result SettingsPolicyCommitResult

How the attempt ended.

Version long?

The version the commit produced; null for every other ending.

GovernedRecords int

How many records the write would have judged, user records and mail accounts together, where the attempt counted them: the figure a write past the bound is refused with, and the total a refusal over invalid records is out of.

RecordsInTheWay IReadOnlyList<SettingsPolicyRecordInTheWay>

The first records that refuse the policy, up to MaximumRecordsNamed, each with what refuses it; empty for every ending but RecordsLeftInvalid.

RecordsLeftInvalid int

How many records refuse the policy in all, of which RecordsInTheWay names the first.