Class CheckMethodReturnValueSensor
Inheritance
CheckMethodReturnValueSensor
Assembly: Xareus.Unity.Librairies.dll
Syntax
public class CheckMethodReturnValueSensor : AInUnityStepSensor
Constructors
CheckMethodReturnValueSensor(Event, Dictionary<string, Parameter>, IContext, IContext, IContext)
Declaration
protected CheckMethodReturnValueSensor(Event @event, Dictionary<string, Parameter> parameters, IContext externalContext, IContext scenarioContext, IContext sequenceContext)
Parameters
Fields
COMPONENT
Declaration
public const string COMPONENT = "Component"
Field Value
COMPONENT_ENTRY
Declaration
[EventContextEntry]
public static readonly string COMPONENT_ENTRY
Field Value
COMPONENT_TYPE
Declaration
public const string COMPONENT_TYPE = "Component Type"
Field Value
METHOD
Declaration
public const string METHOD = "Method"
Field Value
PARAMETERS
Declaration
public const string PARAMETERS = "Parameters"
Field Value
RETURNED_VALUE_ENTRY
Declaration
[EventContextEntry]
public static readonly string RETURNED_VALUE_ENTRY
Field Value
VALUE
Declaration
public const string VALUE = "value"
Field Value
component
Declaration
[Provider("Component Type")]
[ConfigurationParameter("Component", Necessity.Required)]
protected Component component
Field Value
componentType
Declaration
[ProvideConstraint(typeof(Component))]
[ConfigurationParameter("Component Type", Necessity.Required)]
protected Type componentType
Field Value
expectedValue
Declaration
[Provider("Method")]
[ConfigurationParameter("value", Necessity.Required)]
protected object expectedValue
Field Value
method
Declaration
[Provider("Component")]
[ConfigurationParameter("Method", "The method to call", Necessity.Required)]
protected MethodInfo method
Field Value
parameters
Declaration
[Provider("Method")]
[ConfigurationParameter("Parameters", Necessity.Required)]
protected MethodParameters parameters
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