Sage Modeling and Simulation Library

StateMachine..::..RunTransitionSequence Method

Attempts to run the sequence of transitions. If any fail, the call returns in the state where the failure occurred, and the reason list contains whatever reasons were given for the failure. This is to be used if the progression is simple. If checks and responses need to be done, the developer should build a more step-by-step sequencing mechanism.

Namespace:  Highpoint.Sage.SimCore
Assembly:  Sage4 (in Sage4.dll)

Syntax


public IList RunTransitionSequence(
	params Enum[] states
)

Parameters

states
Type: array<Enum>[]()[][]
The states.

Return Value