Neuron®
The Neuron® is the basis for the creation of open and secure federated networks for smart societies.
Loading...
Searching...
No Matches
IStateMachineNode.cs
1using System.Threading.Tasks;
2using System.Xml;
4
6{
10 public interface IStateMachineNode
11 {
15 string LocalName { get; }
16
20 string Namespace { get; }
21
26
31
37
42 Task Parse(XmlElement Xml);
43
50 bool ForEach(ForEachCallback Callback, object State);
51
57
64 }
65}
Class representing a state machine.
Definition: StateMachine.cs:37
void CheckReferences(StateMachine Machine, Token Token)
Checks references in the node.
void IndexElement(StateMachine Machine)
Indexes the element in the state-machine.
IStateMachineNode[] ChildNodes
Child nodes, if available. Null if no children.
IStateMachineNode Create()
Creates a new node of the corresponding type.
Task Parse(XmlElement Xml)
Parses the State-machine node.
bool ForEach(ForEachCallback Callback, object State)
Iterates through th node and all its child nodes.
delegate bool ForEachCallback(IStateMachineNode Node, object State)
Delegate or callback methods when iterating through nodes in a state-machine.