StateTransitionMethodInfoEvaluateAutomaticStateTransitionTrigger Method

Evaluates whether an automatic state transition should be triggered.

Definition

Namespace: MFiles.VAF
Assembly: MFiles.VAF (in MFiles.VAF.dll) Version: 24.1.706.1
C#
public virtual bool EvaluateAutomaticStateTransitionTrigger(
	StateTransitionEnvironment environment,
	IExecutionTrace trace,
	out bool allowTransition,
	out int nextState
)

Parameters

environment  StateTransitionEnvironment
The environment parameters.
trace  IExecutionTrace
The execution tracer object for recording the operation starting end ending.
allowTransition  Boolean
Output value for the evaluation result. True means that the transition will be executed.
nextState  Int32
Output parameter for the next state id.

Return Value

Boolean
True if the method was really executed.

Implements

IStateTransitionMethodInfoEvaluateAutomaticStateTransitionTrigger(StateTransitionEnvironment, IExecutionTrace, Boolean, Int32)

See Also