示例#1
0
 public override void Run(LTimerContext time)
 {
     if (timer != null)
     {
         timer.Action(time);
         if (timer.IsClosed() || timer.IsCompleted())
         {
             Kill();
         }
     }
 }
示例#2
0
 public virtual bool Completed()
 {
     return(_loop_timer.IsCompleted());
 }