Наследование: Manos.IO.Managed.Watcher, ITimerWatcher
Пример #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);
        }
Пример #2
0
 internal void Remove(TimerWatcher timer)
 {
     timers.Remove(timer);
 }