Class AnyRelationSensor
Checks for any relation to be realized except specified ones.
exception
Non checked relation name
Inheritance
AnyRelationSensor
Assembly: Xareus.Scenarios.Relations.dll
Syntax
[Renamed("AnyRelationSensor", "SEVEN.FIVE")]
[Renamed("SEVEN.FIVE.AnyRelationSensor", "SEVEN.FIVE")]
[Renamed("Scenarios.Relations.AnyRelationSensor", "Scenarios.Relations")]
[FunctionDescription("The resulting event context contains the realization at root and the relanion name at 'relation'")]
public class AnyRelationSensor : ASensor
Constructors
AnyRelationSensor(Event, Dictionary<string, Parameter>, IContext, IContext, IContext)
Declaration
public AnyRelationSensor(Event @event, Dictionary<string, Parameter> parameters, IContext externalContext, IContext scenarioContext, IContext sequenceContext)
Parameters
Fields
REALIZATION
Declaration
public static readonly string REALIZATION
Field Value
RELATION_ENTRY
Declaration
public static readonly string RELATION_ENTRY
Field Value
Properties
ExcludedRelations
Except : not checked relations
Declaration
[ConfigurationParameter("except", Necessity.Optional)]
public List<IRelation> ExcludedRelations { get; }
Property Value
RelationsToCheck
Allows external code to know which relations are being checked by this sensor
Declaration
public List<IRelation> RelationsToCheck { get; }
Property Value
Methods
Reset()
Declaration
public override void Reset()
Overrides
SensorCheck()
Declaration
public override ASensor.Result SensorCheck()
Returns
Overrides