Constructor AuthoredMailFlagMutation
- Namespace
- MailFathom.Application.Mail.Mutations.Authoring
- Assembly
- MailFathom.Application.dll
AuthoredMailFlagMutation(MailboxMutation, bool?, bool?, AuthoredMailKeywords?)
One mutation an authored change asks for, with the parameters that mutation needs and no others.
public AuthoredMailFlagMutation(MailboxMutation Mutation, bool? DesiredSeenState, bool? DesiredFlaggedState, AuthoredMailKeywords? Keywords)
Parameters
MutationMailboxMutationThe change to record.
DesiredSeenStatebool?Where to leave
\Seen, for the mutation that writes it.DesiredFlaggedStatebool?Where to leave
\Flagged, for the mutation that writes it.KeywordsAuthoredMailKeywordsThe keywords named, for the three mutations that write them.
Remarks
It exists so the request can be walked once rather than branched over three times, and it carries the parameters unvalidated against the mutation deliberately: MailboxMutationRequest is where a mutation and its parameters are checked against each other, and restating that check here would give the system two answers to keep in step.