Method RefusedOver
- Namespace
- MailFathom.Infrastructure.Persistence.Policies
- Assembly
- MailFathom.Infrastructure.dll
RefusedOver(int, IReadOnlyList<SettingsPolicyRecordInTheWay>)
Describes a write refused over the records in its way.
public static SettingsPolicyCommit? RefusedOver(int governed, IReadOnlyList<SettingsPolicyRecordInTheWay> inTheWay)
Parameters
governedintHow many records the write judged in all.
inTheWayIReadOnlyList<SettingsPolicyRecordInTheWay>Every record that refuses it, users first.
Returns
- SettingsPolicyCommit
The refusal naming the first of them, or null where none refuses the write.
Exceptions
- ArgumentNullException
Thrown when
inTheWayis null.