StateMachineTemplateCreateStateConfiguration Method (String) |
Namespace: StaMa
Exception | Condition |
---|---|
ArgumentNullException | The stateBaseConfiguration is null. |
InvalidOperationException | A StateConfiguration instance cannot be created when the StateMachineTemplate is not complete. The Root property is not initialized to a valid Region instance. |
ArgumentOutOfRangeException | At least one of the State instances provided through stateBaseConfiguration could not be found. |
ArgumentOutOfRangeException | The State instances provided through stateBaseConfiguration contain mutually exclusive State instances, e.g. State instances from the same Region instance. |
The State instances referenced through stateBaseConfiguration must be part of disjoint orthogonal sub-regions.
In absence of orthogonal sub-regions, a StateConfiguration is sufficiently defined through a single state. Passing in the parent states of the single state will not further improve or change the StateConfiguration.