Click or drag to resize

StateTransitionMethodInfoEvaluateAutomaticStateTransitionTrigger Method

Evaluates whether an automatic state transition should be triggered.

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

Parameters

environment
Type: MFiles.VAF.CommonStateTransitionEnvironment
The environment parameters.
trace
Type: MFiles.VAFIExecutionTrace
The execution tracer object for recording the operation starting end ending.
allowTransition
Type: SystemBoolean
Output value for the evaluation result. True means that the transition will be executed.
nextState
Type: SystemInt32
Output parameter for the next state id.

Return Value

Type: Boolean
True if the method was really executed.

Implements

IStateTransitionMethodInfoEvaluateAutomaticStateTransitionTrigger(StateTransitionEnvironment, IExecutionTrace, Boolean, Int32)
See Also