Constructor SuggestedActionBlock
- Namespace
- MailFathom.Application.Discovery.Presentation.Blocks
- Assembly
- MailFathom.Application.dll
SuggestedActionBlock(PresentationEvidence, SuggestedActionKind, PresentationText, SuggestedActionImpact, bool)
Initializes a next step somebody may take.
public SuggestedActionBlock(PresentationEvidence evidence, SuggestedActionKind action, PresentationText reason, SuggestedActionImpact impact, bool requiresConfirmation)
Parameters
evidencePresentationEvidenceWhat the correspondence does for the suggestion.
actionSuggestedActionKindWhich step is suggested.
reasonPresentationTextWhy it is being suggested.
impactSuggestedActionImpactWhat taking it would change.
requiresConfirmationboolWhether it must be confirmed before it is taken.
Exceptions
- ArgumentNullException
Thrown when
evidenceis null.- ArgumentException
Thrown when
reasonis the unspecified default, or when an action that sends mail is offered without confirmation.