Inheritance: IDisposable
Beispiel #1
0
		public void StopDispatching (FileSystemWatcher fsw)
		{
			KqueueMonitor monitor = (KqueueMonitor)watches [fsw];
			if (monitor == null)
				return;

			monitor.Stop ();
		}
Beispiel #2
0
        public void StopDispatching(object handle)
        {
            var           fsw     = handle as FileSystemWatcher;
            KqueueMonitor monitor = (KqueueMonitor)watches [fsw];

            if (monitor == null)
            {
                return;
            }

            monitor.Stop();
        }
Beispiel #3
0
		public void StartDispatching (FileSystemWatcher fsw)
		{
			KqueueMonitor monitor;

			if (watches.ContainsKey (fsw)) {
				monitor = (KqueueMonitor)watches [fsw];
			} else {
				monitor = new KqueueMonitor (fsw);
				watches.Add (fsw, monitor);
			}
				
			monitor.Start ();
		}
Beispiel #4
0
        public void StartDispatching(object handle)
        {
            var           fsw = handle as FileSystemWatcher;
            KqueueMonitor monitor;

            if (watches.ContainsKey(fsw))
            {
                monitor = (KqueueMonitor)watches [fsw];
            }
            else
            {
                monitor = new KqueueMonitor(fsw);
                watches.Add(fsw, monitor);
            }

            monitor.Start();
        }
Beispiel #5
0
		public void StartDispatching (FileSystemWatcher fsw)
		{
			KqueueMonitor monitor;

			if (watches.ContainsKey (fsw)) {
				monitor = (KqueueMonitor)watches [fsw];
			} else {
				monitor = new KqueueMonitor (fsw);
				watches.Add (fsw, monitor);
			}
				
			monitor.Start ();
		}