Example #1
0
 ControllerActionEventArgs BuildEventArgs(Exception e)
 {
     ControllerActionEventArgs evt = new ControllerActionEventArgs();
     evt.Message = GetErrorMessage(e);
     return evt;
 }
Example #2
0
 private void FireEvent(ControllerActionComplete handler, ControllerActionEventArgs e)
 {
     if (handler != null) handler(this, e);
 }
Example #3
0
 ControllerActionEventArgs BuildEventArgs()
 {
     try
     {
         ControllerActionEventArgs evt = new ControllerActionEventArgs();
         evt.Summary = GetSummary();
         evt.Success = true;
         return evt;
     }
     catch (Exception e)
     {
         return BuildEventArgs(e);
     }
 }