3using System.Threading.Tasks;
46 public override Task
FromXml(XmlElement Definition)
49 return Task.CompletedTask;
60 byte[] Bin = Encoding.UTF8.GetBytes(s);
76 Output.Write(Bin, 0, c);
Root node of a simulation model
Abstract base class for simulation nodes
ISimulationNode Parent
Parent node in the simulation model.
Contains the value of a string attribute, possibly with embedded script.
async Task< string > GetValueAsync(Variables Variables)
Gets the value of the attribute.
override string LocalName
Local name of Binary element defining contents of class.
override Task FromXml(XmlElement Definition)
Sets properties and attributes of class in accordance with Binary definition.
async Task Append(MemoryStream Output, Variables Variables)
Appends the binary element to the output stream.
Utf8String(ISimulationNode Parent, Model Model)
Utf8String value.
override ISimulationNode Create(ISimulationNode Parent, Model Model)
Creates a new instance of the node.
Basic interface for simulator nodes. Implementing this interface allows classes with default contruct...
Interface for binary elements