protected virtual void UpdateCollapsedSubstate()
{
StateMachine parent = (StateMachine)FindContainer(typeof(StateMachine));
if (parent != null)
{
parent.UpdateCollapsedSubstate();
return;
}
if (this.CurrentState.EffectiveDisplayNameSpecified)
{
this.CurrentState.EffectiveDisplayName.Value = GetCollapsedSubstate();
}
}