Ejemplo n.º 1
0
 private void Process_ErrorDataReceived(object sender, DataReceivedEventArgs e)
 {
     try
     {
         if (e.Data != null)
         {
             HandleErrorEvent?.Invoke(e.Data);
         }
     }
     catch (Exception exception)
     {
         Console.WriteLine(exception);
     }
 }
Ejemplo n.º 2
0
 void OnErrorEvent(string message) => HandleErrorEvent?.Invoke(message);