Exemple #1
0
    public void Stop()
    {
        if (m_Running == false)
        {
            return;
        }

        m_Running = false;
        (m_Current.Value as ICommandProcess)?.iStop();
        m_CommandListener.iInterrupted(m_Current.Value);
        m_Current = null;
    }
Exemple #2
0
 public void iStop()
 {
     if (m_CurrentCommand != null && m_State != State.Interrupted)
     {
         m_State = State.Interrupted;
         (m_CurrentCommand.Value as ICommandProcess)?.iStop();
         m_CommandNotifier.iInterrupted(m_CurrentCommand.Value);
     }
 }
Exemple #3
0
 public void iInterrupted(ICommand command) => m_RedirectionTarget.iInterrupted(command);