private void UpdateRule(object sender, ConfigChangedEventArgs e)
        {
            EvaluatorRule rule = CreateEvaluatorRule(e.ConfigPath);

            RemoveRule(e.ConfigPath);
            AddRule(e.ConfigPath, rule);
        }
예제 #2
0
        private void UpdateLogDescription(object sender, ConfigChangedEventArgs e)
        {
            LogDescriptionConfig logDescriptionConfig = CreateLogDescription(e.ConfigPath);

            RemoveLogDescription(e.ConfigPath);
            AddLogDescription(e.ConfigPath, logDescriptionConfig);
        }
예제 #3
0
        protected void OnConfigChanged(ConfigChangedEventArgs e)
        {
            EventHandler <ConfigChangedEventArgs> handler = ConfigChanged;

            if (handler != null)
            {
                handler(this, e);
            }
        }
 private void UpdateRule(object sender, ConfigChangedEventArgs e)
 {
     EvaluatorRule rule = CreateEvaluatorRule(e.ConfigPath);
     RemoveRule(e.ConfigPath);
     AddRule(e.ConfigPath, rule);
 }
 private void UpdateLogDescription(object sender, ConfigChangedEventArgs e)
 {
     LogDescriptionConfig logDescriptionConfig = CreateLogDescription(e.ConfigPath);
     RemoveLogDescription(e.ConfigPath);
     AddLogDescription(e.ConfigPath, logDescriptionConfig);
 }