Class ATokenInit
Base class for token initialisation
Inherited Members
Namespace: Xareus.Scenarios.TokenInit
Assembly: Xareus.Scenarios.dll
Syntax
public abstract class ATokenInit : AFunction
Constructors
ATokenInit()
Base constructor for token init
Declaration
protected ATokenInit()
ATokenInit(ASequence, Dictionary<string, Parameter>, IContext, IContext)
Constructor of a TokenSplit
Declaration
protected ATokenInit(ASequence sequence, Dictionary<string, Parameter> parameters, IContext externalContext, IContext scenarioContext)
Parameters
Type | Name | Description |
---|---|---|
ASequence | sequence | The sequence that will hold the token |
Dictionary<string, Parameter> | parameters | The parameters of the token init |
IContext | externalContext | The external context |
IContext | scenarioContext | The scenario context |
Fields
externalContext
The external context
Declaration
protected IContext externalContext
Field Value
Type | Description |
---|---|
IContext |
scenarioContext
The scenario context
Declaration
protected IContext scenarioContext
Field Value
Type | Description |
---|---|
IContext |
Properties
Sequence
The sequence holding this Token init
Declaration
public ASequence Sequence { get; }
Property Value
Type | Description |
---|---|
ASequence |
Methods
CreateToken()
Creates an initial token
Declaration
public abstract IContext CreateToken()
Returns
Type | Description |
---|---|
IContext | A token in form of an IContext |
FillParameters()
Declaration
public virtual void FillParameters()