Example #1
0
 /// <summary>
 /// Aborts this event's execution.
 /// </summary>
 public override void Abort()
 {
     base.Abort();
     if (executor != null)
     {
         executor.Abort();
     }
 }
Example #2
0
 /// <summary>
 /// Aborts the event's execution.
 /// </summary>
 public override void Abort()
 {
     base.Abort();
     if (executor == null)
     {
         return;
     }
     try
     {
         executor.Abort();
     }
     catch
     {
         EventQueue.Goal.Post(new ErrorEvent());
     }
 }