Class AUnityTokenAssign
Inherited Members
Namespace: Xareus.Scenarios.Unity
Assembly: Xareus.Scenarios.Unity.dll
Syntax
public abstract class AUnityTokenAssign : ATokenAssign
Constructors
AUnityTokenAssign(Transition, Dictionary<string, Parameter>, Dictionary<string, IContext>, List<string>, IContext, IContext, IContext, IContext)
Declaration
protected AUnityTokenAssign(Transition transition, Dictionary<string, Parameter> parameters, Dictionary<string, IContext> upstreamSequenceIdTokenMap, List<string> downstreamSequenceIdList, IContext externalContext, IContext scenarioContext, IContext sequenceContext, IContext eventContext)
Parameters
Type | Name | Description |
---|---|---|
Transition | transition | |
Dictionary<string, Parameter> | parameters | |
Dictionary<string, IContext> | upstreamSequenceIdTokenMap | |
List<string> | downstreamSequenceIdList | |
IContext | externalContext | |
IContext | scenarioContext | |
IContext | sequenceContext | |
IContext | eventContext |
Methods
FillParameters()
Override the base method as we need to execute this in the Unity thread
Declaration
public override void FillParameters()
Overrides
Reset()
Declaration
public override void Reset()
Overrides
SafeReset()
Reset a token assign. Note that this code will be executed in unity's thread and the declared parameters (using the ConfigurationParameter attribute) are already filled
Declaration
public virtual void SafeReset()
SafeTokenAssign(Dictionary<string, IContext>)
Actual token assign code. Note that this code will be executed in unity's thread
Declaration
public abstract void SafeTokenAssign(Dictionary<string, IContext> downstreamSequenceIdTokenMap)
Parameters
Type | Name | Description |
---|---|---|
Dictionary<string, IContext> | downstreamSequenceIdTokenMap |
TokenAssign(Dictionary<string, IContext>)
Declaration
public override void TokenAssign(Dictionary<string, IContext> downstreamSequenceIdTokenMap)
Parameters
Type | Name | Description |
---|---|---|
Dictionary<string, IContext> | downstreamSequenceIdTokenMap |
Overrides
UnityThreadFillParameters()
Declaration
protected virtual void UnityThreadFillParameters()