Neuron®
The Neuron® is the basis for the creation of open and secure federated networks for smart societies.
Loading...
Searching...
No Matches
NoteAuthorization.cs
1using System.Threading.Tasks;
2using System.Xml;
3
5{
9 public abstract class NoteAuthorization : ActionNode
10 {
11 private Source source;
12
17 : base()
18 {
19 }
20
24 public Source Source => this.source;
25
30 public override async Task Parse(XmlElement Xml)
31 {
32 await base.Parse(Xml);
33
34 this.ConvertValueAttributeToElement<Source>(Xml, true);
35 }
36
40 protected override void OnChildNodesUpdated()
41 {
42 base.OnChildNodesUpdated();
43
44 this.source = this.GetValueElement<Source>();
45 }
46 }
47}
Abstract base class for State-Machine action nodes.
Definition: ActionNode.cs:9
override async Task Parse(XmlElement Xml)
Parses the State-machine node.
override void OnChildNodesUpdated()
Method called whenever ChildNodes is updated.
NoteAuthorization()
Abstract base class for note authorization actions.