Class CompareXareusTypesMembersValuesSensor
A sensor that checks the member of a given object
Inheritance
CompareXareusTypesMembersValuesSensor
Assembly: Xareus.Unity.Librairies.dll
Syntax
[Renamed("SEVEN.FiveTypeMemberCompareSensor", "Assembly-CSharp", typeof(CompareXareusTypesMembersValuesSensorConverter))]
[Renamed("SEVEN.FIVE.FiveTypeMemberCompareSensor", "Assembly-CSharp", typeof(CompareXareusTypesMembersValuesSensorConverter))]
public class CompareXareusTypesMembersValuesSensor : AInUnityStepSensor
Constructors
CompareXareusTypesMembersValuesSensor(Event, Dictionary<string, Parameter>, IContext, IContext, IContext)
Declaration
protected CompareXareusTypesMembersValuesSensor(Event @event, Dictionary<string, Parameter> parameters, IContext externalContext, IContext scenarioContext, IContext sequenceContext)
Parameters
Fields
VALUE
Declaration
[EventContextEntry]
public static readonly string VALUE
Field Value
XUTYPE1
Declaration
[EventContextEntry]
public static readonly string XUTYPE1
Field Value
XUTYPE2
Declaration
[EventContextEntry]
public static readonly string XUTYPE2
Field Value
member1
Declaration
[Provider("Type 1")]
[ConfigurationParameter("Member 1", Necessity.Required)]
protected MemberInfo member1
Field Value
member2
Declaration
[Provider("Type 2")]
[ConfigurationParameter("Member 2", Necessity.Required)]
protected MemberInfo member2
Field Value
type1
Declaration
[ProvideConstraint(typeof(XUType))]
[ConfigurationParameter("Type 1", Necessity.Required)]
protected Type type1
Field Value
type2
Declaration
[ProvideConstraint(typeof(XUType))]
[ConfigurationParameter("Type 2", Necessity.Required)]
protected Type type2
Field Value
xuType1
Declaration
[Provider("Type 1")]
[ConfigurationParameter("Xareus Type 1", Necessity.Required)]
protected XUType xuType1
Field Value
xuType2
Declaration
[Provider("Type 2")]
[ConfigurationParameter("Xareus Type 2", Necessity.Required)]
protected XUType xuType2
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