Class Mail
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
IConfigurationmailService
Mail
Properties
Description
public override string Description { get; }
Property Value
Id
Id of the effect
public override string Id { get; }
Property Value
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 Parameter[] RequiredParameters { get; }
Property Value
Remarks
The context parameter to Runtime.Execute must define at least the keys listed here.
ShouldRunActivityDidExecute
public override bool ShouldRunActivityDidExecute { get; }
Property Value
Methods
ActivityDidExecute(Model, Activity, Dictionary<string, string>)
public override Task<Result> ActivityDidExecute(Model m, Activity a, Dictionary<string, string> parameters)
Parameters
m
Modela
Activityparameters
Dictionary<string, string>