Neuron®
The Neuron® is the basis for the creation of open and secure federated networks for smart societies.
Loading...
Searching...
No Matches
NoteGenerationScript.cs
1using System.Threading.Tasks;
2using System.Xml;
5
7{
12 {
13 private ExpressionAttribute expression;
14
19 : base()
20 {
21 }
22
26 [DefaultValueNull]
27 public string Expression
28 {
29 get => this.expression?.Expression;
30 set => this.expression = new ExpressionAttribute(value, false, this);
31 }
32
36 public override string LocalName => nameof(NoteGenerationScript);
37
42 public override IStateMachineNode Create()
43 {
44 return new NoteGenerationScript();
45 }
46
51 public override Task Parse(XmlElement Xml)
52 {
53 this.expression = new ExpressionAttribute(Xml.InnerText, false, this);
54
55 return base.Parse(Xml);
56 }
57 }
58}
override IStateMachineNode Create()
Creates a new node of the corresponding type.
override Task Parse(XmlElement Xml)
Parses the State-machine node.
Abstract base class for State-Machine nodes.