Class CompareMembersValuesSensor
Inheritance
CompareMembersValuesSensor
Assembly: Xareus.Unity.Libraries.dll
Syntax
[Renamed("SEVEN.Unity.CompareMembersValuesSensor", "Assembly-CSharp")]
[Renamed("Xareus.Scenarios.Unity.CompareMembersValuesSensor", "Xareus.Unity.Librairies")]
[FunctionDescription("", new string[] { "Members" })]
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
COMPONENT1_ENTRY
Declaration
[EventContextEntry]
public static readonly string COMPONENT1_ENTRY
Field Value
COMPONENT2_ENTRY
Declaration
[EventContextEntry]
public static readonly string COMPONENT2_ENTRY
Field Value
COMPONENT_1
Declaration
public const string COMPONENT_1 = "Left Component"
Field Value
COMPONENT_2
Declaration
public const string COMPONENT_2 = "Right Component"
Field Value
MEMBER1_INFO_ENTRY
Declaration
[EventContextEntry]
public static readonly string MEMBER1_INFO_ENTRY
Field Value
MEMBER2_INFO_ENTRY
Declaration
[EventContextEntry]
public static readonly string MEMBER2_INFO_ENTRY
Field Value
MEMBER_1
Declaration
public const string MEMBER_1 = "Left Member"
Field Value
MEMBER_2
Declaration
public const string MEMBER_2 = "Right Member"
Field Value
VALUE1_ENTRY
Declaration
[EventContextEntry]
public static readonly string VALUE1_ENTRY
Field Value
VALUE2_ENTRY
Declaration
[EventContextEntry]
public static readonly string VALUE2_ENTRY
Field Value
component1
Declaration
[ConfigurationParameter("Left Component", Necessity.Required)]
protected Component component1
Field Value
component2
Declaration
[ConfigurationParameter("Right Component", Necessity.Required)]
protected Component component2
Field Value
member1
Declaration
[ConfigurationParameter("Left Member", Necessity.Required)]
[Provider("Left Component")]
protected MemberInfo member1
Field Value
member2
Declaration
[ConfigurationParameter("Right Member", Necessity.Required)]
[Provider("Right Component")]
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