Exemplo n.º 1
0
 public void iSucceeded(ICommand command)
 {
     if (m_CurrentCommand.Next != null)
     {
         m_CommandNotifier.iSucceeded(m_CurrentCommand.Value);
         m_CurrentCommand = m_CurrentCommand.Next;
         m_CommandInvoker.iInvoke(m_CurrentCommand.Value, this);
     }
     else
     {
         m_State = State.Succeeded;
         m_CommandNotifier.iSucceeded(null);
         m_CommandValidator?.iSucceeded(command);
     }
 }
Exemplo n.º 2
0
 public void iSucceeded(ICommand command)
 {
     if (command != null)
     {
         m_RedirectionTarget.iSucceeded(command);
     }
 }
Exemplo n.º 3
0
    //////////////////////////////////////////////////////////////////////////
    public void iSucceeded(ICommand command)
    {
        if (m_Running == false)
        {
            return;
        }

        if (command != m_Current.Value)
        {
            return;
        }

        m_CommandListener.iSucceeded(m_Current.Value);

        implNextCommand();
    }