Ejemplo n.º 1
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);
     }
 }
Ejemplo n.º 2
0
    public void Stop()
    {
        if (m_Current != null)
        {
            (m_Current.Value as ICommandProcess)?.iStop();
            m_CommandNotifier.iInterrupted(m_Current.Value);
        }

        m_Current = null;
    }
Ejemplo n.º 3
0
 public void iInterrupted(ICommand command) => m_RedirectionTarget.iInterrupted(command);