Class CheckTypeWithScenarioMemberValueSensor
A sensors that checks the value of a member in a TypeWithScenario
Inheritance
CheckTypeWithScenarioMemberValueSensor
Inherited Members
Namespace: Xareus.Relations.Scenarios
Assembly: Xareus.Unity.Librairies.dll
Syntax
[Renamed("SEVEN.CheckFiveTypeWithScenarioMemberValueSensor", "Assembly-CSharp")]
[Renamed("SEVEN.FIVE.CheckFiveTypeWithScenarioMemberValueSensor", "Assembly-CSharp")]
public class CheckTypeWithScenarioMemberValueSensor : AInUnityStepSensor
Constructors
CheckTypeWithScenarioMemberValueSensor(Event, Dictionary<string, Parameter>, IContext, IContext, IContext)
Declaration
protected CheckTypeWithScenarioMemberValueSensor(Event @event, Dictionary<string, Parameter> parameters, IContext externalContext, IContext scenarioContext, IContext sequenceContext)
Parameters
Type | Name | Description |
---|---|---|
Event | event | |
Dictionary<string, Parameter> | parameters | |
IContext | externalContext | |
IContext | scenarioContext | |
IContext | sequenceContext |
Fields
VALUE
Declaration
[EventContextEntry]
public static readonly string VALUE
Field Value
Type | Description |
---|---|
string |
XUTYPE
Declaration
[EventContextEntry]
public static readonly string XUTYPE
Field Value
Type | Description |
---|---|
string |
expectedValue
Expected value
Declaration
[ConfigurationParameter("value", Necessity.Required)]
protected object expectedValue
Field Value
Type | Description |
---|---|
object |
memberInfo
Member to check
Declaration
[Provider("type")]
[ConfigurationParameter("memberInfo", Necessity.Required)]
protected MemberInfo memberInfo
Field Value
Type | Description |
---|---|
MemberInfo |
type
Type to affect
Declaration
[ProvideConstraint(typeof(XUType))]
[ConfigurationParameter("type", Necessity.Required)]
protected Type type
Field Value
Type | Description |
---|---|
Type |
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
Type | Description |
---|---|
ASensor.Result |