Class CheckContextValueSensor
Inheritance
CheckContextValueSensor
Assembly: Xareus.Unity.Libraries.dll
Syntax
[FunctionDescription("", new string[] { "Context" })]
public class CheckContextValueSensor : AInUnityStepSensor
Constructors
CheckContextValueSensor(Event, Dictionary<string, Parameter>, IContext, IContext, IContext)
Declaration
protected CheckContextValueSensor(Event @event, Dictionary<string, Parameter> parameters, IContext externalContext, IContext scenarioContext, IContext sequenceContext)
Parameters
Fields
VALUE
Declaration
public const string VALUE = "value"
Field Value
VALUE_ENTRY
Declaration
[EventContextEntry]
public static readonly string VALUE_ENTRY
Field Value
VARIABLE
Declaration
public const string VARIABLE = "Variable"
Field Value
VARIABLE_ENTRY
Declaration
[EventContextEntry]
public static readonly string VARIABLE_ENTRY
Field Value
expectedValue
Declaration
[ConfigurationParameter("value", Necessity.Required)]
protected object expectedValue
Field Value
variable
Declaration
[ContextVariable("Variable", "")]
protected ContextVariable<object> variable
Field Value
Methods
SafeReset()
Reset a sensor. Note that this code will be executed in unity's thread and the declared parameters (using the ConfigurationParameter attribute) are already filled
Declaration
public override void SafeReset()
Overrides
UnityStepSensorCheck()
This method is called at each selected Unity execution step in Unity's thread. The Unity execution steps used depend on the ExecutionStep property
Declaration
public override ASensor.Result UnityStepSensorCheck()
Returns
Overrides