Esempio n. 1
0
 private void ExecuteInternal(object sender, DateTime EventTime, ExceptionEventHandler Error)
 {
     try
     {
         TimerParameterSetter Setter = new TimerParameterSetter(EventTime, sender);
         Method.Execute(Setter);
     }
     catch (Exception ex)
     {
         if (Error != null)
         {
             try { Error(this, new ExceptionEventArgs(EventTime, ex)); } catch {}
         }
     }
 }
Esempio n. 2
0
 void ExecuteInternal(object sender, DateTime dtEvent, ExceptionEventHandler handler)
 {
     try
     {
         var setter = new TimerParameterSetter(dtEvent, sender);
         Method.Execute(setter);
     }
     catch (Exception ex)
     {
         if (null != handler)
             try
             {
                 handler(this, new ExceptionEventArgs(dtEvent, ex));
             }
             catch { }
     }
 }
Esempio n. 3
0
 void ExecuteInternal(object sender, DateTime dtEvent, ExceptionEventHandler handler)
 {
     try
     {
         var setter = new TimerParameterSetter(dtEvent, sender);
         Method.Execute(setter);
     }
     catch (Exception ex)
     {
         if (null != handler)
         {
             try
             {
                 handler(this, new ExceptionEventArgs(dtEvent, ex));
             }
             catch { }
         }
     }
 }
Esempio n. 4
0
 private void ExecuteInternal(object sender, DateTime EventTime, ExceptionEventHandler Error)
 {
     try
     {
         TimerParameterSetter Setter = new TimerParameterSetter(EventTime, sender);
         Method.Execute(Setter);
     }
     catch (Exception ex)
     {
         if (Error != null)
             try { Error(this, new ExceptionEventArgs(EventTime, ex)); } catch {}
     }
 }