Class SettingsPolicyCommit
- Namespace
- MailFathom.Infrastructure.Persistence.Policies
- Assembly
- MailFathom.Infrastructure.dll
What one attempt to commit a settings policy did.
public sealed record SettingsPolicyCommit : IEquatable<SettingsPolicyCommit>
- Inheritance
-
SettingsPolicyCommit
- Implements
- Inherited Members
Constructors
- SettingsPolicyCommit(SettingsPolicyCommitResult, long?, int, IReadOnlyList<SettingsPolicyRecordInTheWay>?, int)
What one attempt to commit a settings policy did.
Fields
- MaximumRecordsNamed
The most records one refusal names, so that an answer about a policy governing thousands stays one a person reads.
Properties
- GovernedRecords
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
Gets the first records that refuse the policy, which is empty for every ending but RecordsLeftInvalid.
- RecordsLeftInvalid
How many records refuse the policy in all, of which
RecordsInTheWaynames the first.
- Result
How the attempt ended.
Methods
- RefusedOver(int, IReadOnlyList<SettingsPolicyRecordInTheWay>)
Describes a write refused over the records in its way.