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