Class CheckMemberValueSensor
Inheritance
CheckMemberValueSensor
Assembly: Xareus.Unity.Librairies.dll
Syntax
[Renamed("SEVEN.Unity.CheckMemberValueSensor", "Assembly-CSharp")]
public class CheckMemberValueSensor : AInUnityStepSensor
Constructors
CheckMemberValueSensor(Event, Dictionary<string, Parameter>, IContext, IContext, IContext)
Declaration
protected CheckMemberValueSensor(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
MEMBER
Declaration
public const string MEMBER = "Member"
Field Value
VALUE
Declaration
public const string VALUE = "value"
Field Value
VALUE_ENTRY
Declaration
[EventContextEntry]
public static readonly string VALUE_ENTRY
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("Member")]
[ConfigurationParameter("value", Necessity.Required)]
protected object expectedValue
Field Value
member
Declaration
[Provider("Component Type")]
[ConfigurationParameter("Member", Necessity.Required)]
protected MemberInfo member
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