Table of Contents

Class Mail

Namespace
DCR.Workflow.Effect
Assembly
DCR.Workflow.dll
public class Mail : EffectBase, IEffect
Inheritance
Mail
Implements
Inherited Members
Extension Methods

Constructors

Mail(ILogger<Mail>, IConfiguration, Mail)

public Mail(ILogger<Mail> logger, IConfiguration config, Mail mailService)

Parameters

logger ILogger<Mail>
config IConfiguration
mailService Mail

Properties

Description

public override string Description { get; }

Property Value

string

Id

Id of the effect

public override string Id { get; }

Property Value

string

Remarks

This is the id used to identify the effect. Modellers use this id to indicate that an activity should have the effect

RequiredParameters

Parameters required to be set

public override string[] RequiredParameters { get; }

Property Value

string[]

Remarks

The context parameter to Runtime.Execute must define at least the keys listed here.

ShouldRunActivityDidExecute

public override bool ShouldRunActivityDidExecute { get; }

Property Value

bool

Methods

ActivityDidExecute(Model, Activity, Dictionary<string, string>)

public override Task<Result> ActivityDidExecute(Model m, Activity a, Dictionary<string, string> parameters)

Parameters

m Model
a Activity
parameters Dictionary<string, string>

Returns

Task<Result>