2using System.Threading.Tasks;
Root node of a simulation model
Basic interface for simulator nodes. Implementing this interface allows classes with default contruct...
Task Finalize()
Finalizes the node after simulation.
Task Initialize()
Initialized the node before simulation.
Task ForEach(ForEachCallbackMethod Method, bool DepthFirst)
Evaluates Method on each node in the subtree defined by the current node.
string Namespace
XML Namespace where the element is defined.
Task Start()
Starts the node.
string LocalName
Local name of XML element defining contents of class.
Task ExportMarkdown(StreamWriter Output)
Exports Markdown
ISimulationNode Parent
Parent node in the simulation model.
string SchemaResource
Points to the embedded XML Schema resource defining the semantics of the XML namespace.
Task ExportXml(XmlWriter Output)
Exports XML
Task FromXml(XmlElement Definition)
Sets properties and attributes of class in accordance with XML definition.
ISimulationNode Create(ISimulationNode Parent, Model Model)
Creates a new instance of the node.
delegate Task ForEachCallbackMethod(ISimulationNode Node)
Callback method for iteration across the simulation model.