Click or drag to resize
StaMaStateConfigurationIsMatching Method
Indicates whether a StateConfiguration is compliant with this instance.

Namespace: StaMa
Assembly: StaMa (in StaMa.dll) Version: 2.3.1.7
Syntax
public bool IsMatching(
	StateConfiguration stateConfiguration
)

Parameters

stateConfiguration
Type: StaMaStateConfiguration
The StateConfiguration to be checked.

Return Value

Type: Boolean
true if the given StateConfiguration is exactly identical or if it differs only in those slots where the other StateConfiguration isn't specified for a particular Region. false if there are different states for the same Region slot.
Remarks
Every Region from the StateMachineTemplate occupies a "slot" within the StateConfiguration. These slots are filled with references to State instances or may be left unspecified during initialization of the StateConfiguration. A StateConfiguration that contains unspecified slots is partially specified but may still be compared for compliance with other StateConfiguration instances through the IsMatching(StateConfiguration) method.
See Also