Ejemplo n.º 1
0
        public void StopWatching()
        {
            ChoGuard.NotDisposed(this);

            if (_configurationChangeWatcher != null)
            {
                _configurationChangeWatcher.StopWatching();
            }
        }
Ejemplo n.º 2
0
        internal void Stop()
        {
            if (!IsXmlFile)
            {
                return;
            }

            lock (_syncRoot)
            {
                if (isStopRequested)
                {
                    return;
                }
                else
                {
                    isStopRequested = true;
                }
            }
            OnTimerServiceCallback(null);
            if (_timerService != null)
            {
                _timerService.Stop();
            }
            if (_queuedMsgService != null)
            {
                _queuedMsgService.Stop();
            }
            if (_configurationChangeWatcher != null)
            {
                _configurationChangeWatcher.StopWatching();
            }
        }
Ejemplo n.º 3
0
 public override void StopWatching()
 {
     _configurationChangeWatcher.StopWatching();
 }