Click or drag to resize
StaMaStateMachineTemplateRegion Method
Creates a Region instance and precedes the definition of the Region's States.

Namespace: StaMa
Assembly: StaMa (in StaMa.dll) Version: 2.3.1.7
Syntax
public void Region(
	string initialStateName,
	bool hasHistory
)

Parameters

initialStateName
Type: SystemString
A String that defines the name of the Region's initial State.
hasHistory
Type: SystemBoolean
true if the Region shall have a shallow history; otherwise, false.
Exceptions
ExceptionCondition
ArgumentNullException The initialStateName is null or empty.
StateMachineException A syntax error was detected with this or the preceeding Region, EndRegion, State, EndState or Transition statements.
Remarks
See Also