상속: Manos.IO.Managed.Watcher, ITimerWatcher
예제 #1
0
파일: Context.cs 프로젝트: kersny/manos
        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
파일: Context.cs 프로젝트: kersny/manos
 internal void Remove(TimerWatcher timer)
 {
     timers.Remove(timer);
 }