Class ContextVariable<T>
Base type for manipulating context variables. This is especially useful to define effector outputs in contexts.
Can be used with ContextVariableAttribute
Inheritance
ContextVariable<T>
Assembly: Xareus.Scenarios.dll
Syntax
[Renamed("SEVEN.ContextVariable", "SEVEN")]
[Renamed("SEVEN.Variables.ContextVariable", "SEVEN")]
public class ContextVariable<T>
Type Parameters
Constructors
ContextVariable(string, object, object, object)
Declaration
[Obsolete("Use ContextVariable(string, IContext, IContext, IContext) instead")]
public ContextVariable(string path, object externalContext, object scenarioContext, object sequenceContext)
Parameters
ContextVariable(string, object, object, object, object)
Declaration
[Obsolete("Use ContextVariable(string, IContext, IContext, IContext, IContext) instead")]
public ContextVariable(string path, object externalContext, object scenarioContext, object sequenceContext, object eventContext)
Parameters
ContextVariable(string, IContext, IContext, IContext)
Declaration
public ContextVariable(string path, IContext externalContext, IContext scenarioContext, IContext sequenceContext)
Parameters
ContextVariable(string, IContext, IContext, IContext, IContext)
Declaration
public ContextVariable(string path, IContext externalContext, IContext scenarioContext, IContext sequenceContext, IContext eventContext)
Parameters
Properties
Path
Declaration
public VariablePath Path { get; }
Property Value
Methods
Get()
Get the value from the context
Declaration
Returns
Set(T)
Set the value in the context
Declaration
Parameters
Type |
Name |
Description |
T |
value |
|