Class CompareStaticMembersValuesSensor
Inheritance
CompareStaticMembersValuesSensor
Assembly: Xareus.Unity.Libraries.dll
Syntax
[FunctionDescription("", new string[] { "Members" })]
public class CompareStaticMembersValuesSensor : AInUnityStepSensor
Constructors
CompareStaticMembersValuesSensor(Event, Dictionary<string, Parameter>, IContext, IContext, IContext)
Declaration
protected CompareStaticMembersValuesSensor(Event @event, Dictionary<string, Parameter> parameters, IContext externalContext, IContext scenarioContext, IContext sequenceContext)
Parameters
Fields
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
TYPE1_ENTRY
Declaration
[EventContextEntry]
public static readonly string TYPE1_ENTRY
Field Value
TYPE2_ENTRY
Declaration
[EventContextEntry]
public static readonly string TYPE2_ENTRY
Field Value
TYPE_1
Declaration
public const string TYPE_1 = "Left Type"
Field Value
TYPE_2
Declaration
public const string TYPE_2 = "Right Type"
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
member1
Declaration
[ConfigurationParameter("Left Member", Necessity.Required)]
[ProvideConstraint(BindingFlags.Static)]
[Provider("Left Type")]
protected MemberInfo member1
Field Value
member2
Declaration
[ConfigurationParameter("Right Member", Necessity.Required)]
[ProvideConstraint(BindingFlags.Static)]
[Provider("Right Type")]
protected MemberInfo member2
Field Value
type1
Declaration
[ConfigurationParameter("Left Type", Necessity.Required)]
protected Type type1
Field Value
type2
Declaration
[ConfigurationParameter("Right Type", Necessity.Required)]
protected Type type2
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