Table of Contents

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

evidence PresentationEvidence

What the correspondence does for the suggestion.

action SuggestedActionKind

Which step is suggested.

reason PresentationText

Why it is being suggested.

impact SuggestedActionImpact

What taking it would change.

requiresConfirmation bool

Whether it must be confirmed before it is taken.

Exceptions

ArgumentNullException

Thrown when evidence is null.

ArgumentException

Thrown when reason is the unspecified default, or when an action that sends mail is offered without confirmation.