Exemplo 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);
        }
Exemplo 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);
        }