Class AConfiguration
A configuration is a special function that applies settings to a sequence. It can be used to provide a ConfigurationContext to the sequence which scope is limited to the sequence. The Configuration context used by the function comes from the parent sequence of the current sequence (if any) The Configuration context returned by the Configure method is provided to the current sequence.
Inherited Members
Namespace: Xareus.Scenarios.Configuration
Assembly: Xareus.Scenarios.dll
Syntax
public abstract class AConfiguration : AFunction
Constructors
AConfiguration()
Base constructor for configuration
Declaration
protected AConfiguration()
AConfiguration(ASequence, Dictionary<string, Parameter>, ContextHolder)
Constructor of a Configuration
Declaration
protected AConfiguration(ASequence sequence, Dictionary<string, Parameter> parameters, ContextHolder contexts)
Parameters
Type | Name | Description |
---|---|---|
ASequence | sequence | The sequence that holds the configuration |
Dictionary<string, Parameter> | parameters | The parameters of the configuration |
ContextHolder | contexts | The contexts. Note that the configuration context provided here is different from the one careted by the AConfiguration function |
Properties
Sequence
The sequence holding this configuration
Declaration
public ASequence Sequence { get; }
Property Value
Type | Description |
---|---|
ASequence |
Methods
Configure()
Apply the configuration and return the resulting configuration context
Declaration
public abstract IContext Configure()
Returns
Type | Description |
---|---|
IContext |