Class CompareMembersValuesSensor
Inheritance
CompareMembersValuesSensor
Assembly: Xareus.Unity.Librairies.dll
Syntax
[Renamed("SEVEN.Unity.CompareMembersValuesSensor", "Assembly-CSharp")]
public class CompareMembersValuesSensor : AInUnityStepSensor
Constructors
CompareMembersValuesSensor(Event, Dictionary<string, Parameter>, IContext, IContext, IContext)
Declaration
protected CompareMembersValuesSensor(Event @event, Dictionary<string, Parameter> parameters, IContext externalContext, IContext scenarioContext, IContext sequenceContext)
Parameters
Fields
CHECK_EQUAL
Declaration
public const string CHECK_EQUAL = "Check if Equal"
Field Value
COMPONENT1
Declaration
[EventContextEntry]
public static readonly string COMPONENT1
Field Value
COMPONENT2
Declaration
[EventContextEntry]
public static readonly string COMPONENT2
Field Value
COMPONENT_1
Declaration
public const string COMPONENT_1 = "Component 1"
Field Value
COMPONENT_2
Declaration
public const string COMPONENT_2 = "Component 2"
Field Value
COMPONENT_TYPE_1
Declaration
public const string COMPONENT_TYPE_1 = "Component Type 1"
Field Value
COMPONENT_TYPE_2
Declaration
public const string COMPONENT_TYPE_2 = "Component Type 2"
Field Value
MEMBER_1
Declaration
public const string MEMBER_1 = "member1"
Field Value
MEMBER_2
Declaration
public const string MEMBER_2 = "member2"
Field Value
VALUE
Declaration
[EventContextEntry]
public static readonly string VALUE
Field Value
checkEquals
Declaration
[ConfigurationParameter("Check if Equal", true, Necessity.Optional)]
protected bool checkEquals
Field Value
component1
Declaration
[Provider("Component Type 1")]
[ConfigurationParameter("Component 1", Necessity.Required)]
protected Component component1
Field Value
component2
Declaration
[Provider("Component Type 2")]
[ConfigurationParameter("Component 2", Necessity.Required)]
protected Component component2
Field Value
componentType1
Declaration
[ProvideConstraint(typeof(Component))]
[ConfigurationParameter("Component Type 1", Necessity.Required)]
protected Type componentType1
Field Value
componentType2
Declaration
[ProvideConstraint(typeof(Component))]
[ConfigurationParameter("Component Type 2", Necessity.Required)]
protected Type componentType2
Field Value
member1
Declaration
[Provider("Component Type 1")]
[ConfigurationParameter("member1", Necessity.Required)]
protected MemberInfo member1
Field Value
member2
Declaration
[Provider("Component Type 2")]
[ConfigurationParameter("member2", Necessity.Required)]
protected MemberInfo member2
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