예제 #1
0
 /// <summary>
 /// Raises the error complete event.
 /// </summary>
 /// <param name="e">The <see cref="Bugx.Web.BugEventArgs"/> instance containing the event data.</param>
 static void OnErrorComplete(BugEventArgs e)
 {
     if (ErrorComplete != null)
     {
         SafeRunner.Invoke(delegate { ErrorComplete(HttpContext.Current.ApplicationInstance, e); });
     }
 }
예제 #2
0
 /// <summary>
 /// Handles the Error event of the Application control (Safe).
 /// </summary>
 /// <param name="sender">The source of the event.</param>
 /// <param name="e">The <see cref="System.EventArgs"/> instance containing the event data.</param>
 static void SafeApplication_Error(object sender, EventArgs e)
 {
     SafeRunner.Invoke(delegate { Application_Error(sender); });
 }