1using System.Threading.Tasks;
51 public override Task
Parse(XmlElement Xml)
55 return base.Parse(Xml);
64 return this.expression?.
Evaluate(Arguments.
Variables) ?? Task.FromResult<
object>(
null);
Attribute containing a script expression.
async Task< object > Evaluate(Variables Variables)
Evaluates the attribute
string Expression
Expression
Contains information required for evaluating script in a state-machine.
Variables Variables
Current set of variables.
override Task Parse(XmlElement Xml)
Parses the State-machine node.
string Expression
Script expression.
override Task< object > Evaluate(EvaluationArguments Arguments)
Evaluates the value node.
override IStateMachineNode Create()
Creates a new node of the corresponding type.
override string LocalName
Local name
Abstract base class for State-Machine nodes containing a value.
Interface for State-Machine nodes