This sensor validates when one of the given transitions is fired
Inheritance
TransitionFiredSensor
Assembly: Xareus.Scenarios.Extra.dll
[Renamed("TransitionFiredSensor", "SEVEN.Extra")]
[Renamed("SEVEN.Extra.TransitionFiredSensor", "SEVEN.Extra")]
public class TransitionFiredSensor : ASensor
Constructors
Create a sensor that react to the firing of a transition
Declaration
protected TransitionFiredSensor(Event @event, Dictionary<string, Parameter> parameters, IContext externalContext, IContext scenarioContext, IContext sequenceContext)
Parameters
Fields
Declaration
public static readonly string EVENT_CONTEXT
Field Value
Declaration
public static readonly string TRANSITION
Field Value
Declaration
protected List<Assignment> assignments
Field Value
the assignments required by the transitions
Declaration
[ConfigurationParameter("assignment", Necessity.Optional)]
protected string[] assignmentsStrings
Field Value
Declaration
protected SimpleDictionary eventContext
Field Value
The scenario that will contain the transitions
Declaration
[ConfigurationParameter("instance", Necessity.Required)]
protected Scenario scenario
Field Value
Check if one of the transitions was fired
Declaration
protected bool transitionFired
Field Value
The list of transitions we registered to
Declaration
protected List<Transition> transitions
Field Value
The transitions to look at
Declaration
[ConfigurationParameter("transition", Necessity.Required)]
protected string[] transitionsIdStrings
Field Value
Methods
Declaration
public override void Reset()
Overrides
Declaration
public override ASensor.Result SensorCheck()
Returns
Overrides
Unregistering self from the transition
Declaration
public override void StopCheck()
Overrides