Constructor MailRuleActionRecorder
- Namespace
- MailFathom.Application.Rules.Actions
- Assembly
- MailFathom.Application.dll
MailRuleActionRecorder(IMailboxMutationRecordStore, IAuthoredDeleteEmailDispositionReader, IMailRuleActionPermissionReader)
Initializes the recorder from the record it writes and the decisions it has to read.
public MailRuleActionRecorder(IMailboxMutationRecordStore records, IAuthoredDeleteEmailDispositionReader deleteDispositions, IMailRuleActionPermissionReader permissions)
Parameters
recordsIMailboxMutationRecordStoreOpens the durable record one action is carried by.
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.