Inheritance: Manos.IO.Managed.Watcher, ITimerWatcher
Exemple #1
0
        public override ITimerWatcher CreateTimerWatcher(TimeSpan timeout, TimeSpan repeat, Action cb)
        {
            var result = new TimerWatcher(this, cb, timeout, repeat);

            timers.Add(result);
            return(result);
        }
Exemple #2
0
 internal void Remove(TimerWatcher timer)
 {
     timers.Remove(timer);
 }