Class AFinalTokenMerge
Inherited Members
Namespace: Xareus.Scenarios.FinalTokenMerge
Assembly: Xareus.Scenarios.dll
Syntax
public abstract class AFinalTokenMerge : AFunction
Constructors
AFinalTokenMerge()
Base constructor for final token merge
Declaration
protected AFinalTokenMerge()
AFinalTokenMerge(ComplexSequence, Dictionary<string, Parameter>, Dictionary<string, IContext>, IContext, IContext)
Constructor for a final token merge. Meaning the function that will merge the token of all final sequences of a network before exiting it
Declaration
protected AFinalTokenMerge(ComplexSequence complexSequence, Dictionary<string, Parameter> parameters, Dictionary<string, IContext> upstreamSequenceIdTokenMap, IContext externalContext, IContext scenarioContext)
Parameters
Type | Name | Description |
---|---|---|
ComplexSequence | complexSequence | The network that is being exited |
Dictionary<string, Parameter> | parameters | The parameters of the token merge |
Dictionary<string, IContext> | upstreamSequenceIdTokenMap | The tokens of the final sequences |
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 |
upstreamSequenceIdTokenMap
Map of the identifiers of the upstream/final sequences and their tokens
Declaration
protected Dictionary<string, IContext> upstreamSequenceIdTokenMap
Field Value
Type | Description |
---|---|
Dictionary<string, IContext> |
Properties
ComplexSequence
The net holding this Token Merge
Declaration
protected ComplexSequence ComplexSequence { get; }
Property Value
Type | Description |
---|---|
ComplexSequence |
Methods
FillParameters()
Declaration
public virtual void FillParameters()
TokenMerge()
Produces the token of a sequence from the tokens of the final sequences of its sub net.
Declaration
public abstract IContext TokenMerge()
Returns
Type | Description |
---|---|
IContext | The token |