Example #1
0
 /// <summary>
 /// Raises the <see cref="Error"/> event.
 /// </summary>
 /// <param name="e">An <see cref="DotRas.RasErrorEventArgs"/> containing event data.</param>
 protected void OnError(RasErrorEventArgs e)
 {
     if (this.Error != null)
     {
         this.Error(this, e);
     }
 }
Example #2
0
 /// <summary>
 /// Raises the <see cref="Error"/> event.
 /// </summary>
 /// <param name="e">An <see cref="DotRas.RasErrorEventArgs"/> containing event data.</param>
 protected void OnError(RasErrorEventArgs e)
 {
     if (this.Error != null)
     {
         this.Error(this, e);
     }
 }
Example #3
0
 /// <summary>
 /// Raises the <see cref="Error"/> event.
 /// </summary>
 /// <param name="e">An <see cref="DotRas.RasErrorEventArgs"/> containing event data.</param>
 protected void OnError(RasErrorEventArgs e)
 {
     Error?.Invoke(this, e);
 }