Exemplo n.º 1
0
 private void OnFileChanged(object sender, ChoConfigurationChangedEventArgs e)
 {
     if (_queuedMsgService != null)
     {
         _queuedMsgService.Enqueue(ChoStandardQueuedMsgObject <object> .New(e));
     }
 }
Exemplo n.º 2
0
        private void OnTimerServiceCallback(string state)
        {
            if (!Dirty)
            {
                return;
            }
            Dirty = false;

            _queuedMsgService.Enqueue(ChoStandardQueuedMsgObject.New(ToString()));
        }
Exemplo n.º 3
0
 public void Save()
 {
     if (!Dirty || !IsXmlFile)
     {
         return;
     }
     if (_queuedMsgService != null)
     {
         _queuedMsgService.Enqueue(ChoStandardQueuedMsgObject <object> .New(null));
     }
 }
Exemplo n.º 4
0
        private void OnTimerServiceCallback(string state)
        {
            if (!Dirty || !IsXmlFile)
            {
                return;
            }
            Dirty = false;

            if (_queuedMsgService != null)
            {
                _queuedMsgService.Enqueue(ChoStandardQueuedMsgObject <object> .New(null));
            }
        }
Exemplo n.º 5
0
        private void OnTimerServiceCallback(string state)
        {
            if (!_iniDocument.Dirty)
            {
                return;
            }

            _iniDocument.Dirty = false;

            if (_queuedMsgService != null)
            {
                _queuedMsgService.Enqueue(ChoStandardQueuedMsgObject <string> .New(_iniDocument.ToString()));
            }
        }
Exemplo n.º 6
0
 public void Save()
 {
     if (!Dirty || !IsXmlFile)
     {
         return;
     }
     Dirty = false;
     if (_queuedMsgService != null)
     {
         _queuedMsgService.Enqueue(ChoStandardQueuedMsgObject <object> .New(null));
     }
     else
     {
         SaveInternal();
     }
 }