예제 #1
0
 public void Start()
 {
     lock (this.syncRoot)
     {
         this.timer   = new TimerEx(name, true);
         this.started = true;
     }
 }
예제 #2
0
 public TimerEx(bool isBackground) : this("Timer-" + TimerEx.NextId().ToString(), isBackground)
 {
 }