Example #1
0
 public void RemoveHandler(Clock.IClockTickHandler h)
 {
     lock (this.handlers)
     {
         this.handlers.Remove(h);
     }
 }
Example #2
0
 public void AddHandler(Clock.IClockTickHandler h)
 {
     lock (this.handlers)
     {
         if (!this.handlers.Contains(h))
         {
             this.handlers.Add(h);
         }
     }
 }