예제 #1
0
        private void Machine_MachineStopped(object sender, MachineStoppedEventArgs e)
        {
            var args = new ThreadStoppedEventArgs
            {
                Machine    = (MachineInstance)sender,
                ThreadId   = e.ThreadId,
                StopReason = e.Reason
            };

            ThreadStopped?.Invoke(this, args);
        }
예제 #2
0
 private void OnThreadFinished()
 {
     ThreadStopped?.Invoke(this);
 }