Sage Modeling and Simulation Library

StateMachine..::..DoTransition Method (Enum)

Commands the state machine to attempt transition to the indicated state. Returns a list of ITransitionFailureReasons. If this list is empty, the transition was successful.

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


public IList DoTransition(
	Enum toWhatState


Type: Enum
The desired new state of the State Machine.

Return Value

A list of ITransitionFailureReasons. (Empty if successful.)