2using System.Threading.Tasks;
31 if (Arguments.
Token is
null)
32 throw new Exception(
"State Machine does not have single token owner.");
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 owner events.
Contains information required for evaluating script in a state-machine.
Token Token
Reference to related token.
Represents an event definition.
Abstract base class for State-Machine event nodes.
Abstract base class for owner event nodes.
override async Task< bool > Register(int EventIndex, EvaluationArguments Arguments, OnEvent Event)
Registers the event
OwnerEventNode()
Abstract base class for owner event nodes.
Action executed when entering a state.