UpdateCollapsedSubstate() protected méthode

Updates the collapses substate name for the state machine.
protected UpdateCollapsedSubstate ( ) : void
Résultat void
Exemple #1
0
        /// <summary>
        /// Updates the collapses substate name for the state machine.
        /// </summary>
        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();
            }
        }