示例#1
0
 /// <summary>
 /// Raises the <see cref="ErrorLineReceived"/> event.
 /// </summary>
 /// <param name="sender">The event source.</param>
 /// <param name="e">The line received event arguments.</param>
 protected void OnErrorLineReceived(object sender, LineReceivedEventArgs e)
 {
     if (ErrorLineReceived != null)
     {
         ErrorLineReceived(this, e);
     }
 }
示例#2
0
 /// <summary>
 /// Raises the <see cref="OutputLineReceived"/> event.
 /// </summary>
 /// <param name="sender">The event source.</param>
 /// <param name="e">The line received event arguments.</param>
 protected void OnOutputLineReceived(object sender, LineReceivedEventArgs e)
 {
     if (OutputLineReceived != null)
     {
         OutputLineReceived(this, e);
     }
 }