Esempio n. 1
0
        private void CurrentTransitionOnTransitionEnded(SubMapTransition transition, SubMap @from, SubMapBinder to, bool success)
        {
            CurrentTransition.TransitionEnded -= CurrentTransitionOnTransitionEnded;

            if (!success)
            {
                Index = -1;
            }
            else
            {
                Index++;
            }

            OnTransitionEnded(transition, success);
        }
Esempio n. 2
0
        private void CurrentTransitionOnTransitionEnded(SubMapTransition transition, SubMap @from, SubMapBinder to, bool success)
        {
            CurrentTransition.TransitionEnded -= CurrentTransitionOnTransitionEnded;

            if (!success)
                Index = -1;
            else
            {
                Index++;
            }

            OnTransitionEnded(transition, success);
        }