Constructor MailRuleActionRecorder
- Namespace
- MailFathom.Application.Rules.Actions
- Assembly
- MailFathom.Application.dll
MailRuleActionRecorder(MailboxChangeSubmission, IAuthoredDeleteEmailDispositionReader, IMailRuleActionPermissionReader)
Initializes the recorder from the submission it writes through and the decisions it has to read.
public MailRuleActionRecorder(MailboxChangeSubmission submission, IAuthoredDeleteEmailDispositionReader deleteDispositions, IMailRuleActionPermissionReader permissions)
Parameters
submissionMailboxChangeSubmissionRecords one action, or commits it where the account is held.
deleteDispositionsIAuthoredDeleteEmailDispositionReaderAnswers what the account keeps locally of an email a rule deletes or files away.
permissionsIMailRuleActionPermissionReaderAnswers which changes the account currently permits a rule to make.
Exceptions
- ArgumentNullException
Thrown when a collaborator is null.