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, SourceVariable,
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 external note events.
Task< string > GetSourceVariable(EvaluationArguments Arguments)
Evaluates the source variable to use (if any).
Task< string > GetPrivilege(EvaluationArguments Arguments)
Evaluates the privilege to require (if any).
Event raised when an external XML note has been logged on the token corresponding to the state-machin...
override async Task< bool > Register(int EventIndex, EvaluationArguments Arguments, OnEvent Event)
Registers the event
string LocalNameDefinition
Local Name definition.
string NamespaceDefinition
Namespace definition.
override IStateMachineNode Create()
Creates a new node of the corresponding type.
override string LocalName
Local name
OnExternalXmlNote()
Event raised when an external XML note has been logged on the token corresponding to the state-machin...
override Task Parse(XmlElement Xml)
Parses the State-machine node.
override string Label
UML Label for event.
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.
virtual string Namespace
Namespace
Action executed when entering a state.
Interface for State-Machine nodes