1using System.Threading.Tasks;
25 public override async Task
Parse(XmlElement Xml)
27 await base.Parse(Xml);
29 this.ConvertValueAttributeToElement<Reason>(Xml,
true);
37 base.OnChildNodesUpdated();
39 this.reason = this.GetValueElement<Reason>();
48 string Reason = (await this.reason.
Evaluate(Arguments))?.ToString();
Abstract base class for State-Machine action nodes.
Abstract base class for actions with reason property.
override void OnChildNodesUpdated()
Method called whenever ChildNodes is updated.
ActionWithReasonNode()
Abstract base class for actions with reason property.
abstract Task Execute(EvaluationArguments Arguments, string Reason)
Evaluates the action node
override async Task Parse(XmlElement Xml)
Parses the State-machine node.
override sealed async Task Execute(EvaluationArguments Arguments)
Evaluates the action node
Contains information required for evaluating script in a state-machine.
Task< object > Evaluate(EvaluationArguments Arguments)
Evaluates the value node.