Class GrantWriteResult
- Namespace
- MailFathom.Application.Access.Grants
- Assembly
- MailFathom.Application.dll
What a write to a role, a group, or an assignment did, and what a refusal has to name for an administrator to act on it.
public sealed record GrantWriteResult : IEquatable<GrantWriteResult>
- Inheritance
-
GrantWriteResult
- Implements
- Inherited Members
Constructors
- GrantWriteResult(GrantWriteOutcome, int, Guid)
What a write to a role, a group, or an assignment did, and what a refusal has to name for an administrator to act on it.
Properties
- Outcome
What the write did, or why it did nothing.
- RecordId
The identifier a role, a group, or an assignment was recorded under, carried by a creation that was written and empty otherwise.
- StandingAssignments
How many assignments stood in the way of a deletion; zero for every other outcome.
Methods
- Of(GrantWriteOutcome)
Gets the result of a write that ended in the outcome given.