2using System.Threading.Tasks;
45 get => this.@
namespace?.Definition;
67 public override Task
Parse(XmlElement Xml)
72 return base.Parse(Xml);
92 EventIndex,
this, NoteVariable, PersonalVariable,
string.Empty,
108 StringBuilder sb =
new StringBuilder();
115 return sb.ToString();
Helps with common XML-related tasks.
static string Attribute(XmlElement E, string Name)
Gets the value of an XML attribute.
Static interface for database persistence. In order to work, a database provider has to be assigned t...
static async Task Insert(object Object)
Inserts an object into the default collection of the database.
async Task AddToCache()
Removes the event handler from the cache.
Event handler for token note events.
async Task< T > Evaluate(Variables Variables)
Evaluates the attribute
string Definition
Attribute definition
Scriptable string attribute.
Contains information required for evaluating script in a state-machine.
Variables Variables
Current set of variables.
Represents an event definition.
Abstract base class for note events.
Task< string > EvaluateNoteVariable(EvaluationArguments Arguments)
Evaluates the note variable definition.
Event raised when an XML note has been logged on the token corresponding to the state-machine.
override async Task< EventHandlerReference > Register(int EventIndex, EvaluationArguments Arguments, OnEvent Event)
Registers the event
string NamespaceDefinition
Namespace definition.
string LocalNameDefinition
Local Name definition.
override string Label
UML Label for event.
override Task Parse(XmlElement Xml)
Parses the State-machine node.
OnXmlNote()
Event raised when an XML note has been logged on the token corresponding to the state-machine.
override IStateMachineNode Create()
Creates a new node of the corresponding type.
override string LocalName
Local name
virtual string Namespace
Namespace
Action executed when entering a state.
Interface for State-Machine nodes