Ejemplo n.º 1
0
 private void ConfigDaemonOnOnUserConfigChanged(ConfigChangedEventArgs e)
 {
     this.Dispatcher.Invoke((Action)(() =>
     {
         LogBlock.Text = " Change: " + e.Description();
     }));
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Propagates the change.
 /// </summary>
 /// <param name="e">
 /// The <see cref="ConfigChangedEventArgs" /> instance containing the event data.
 /// </param>
 protected void PropagateChange(ConfigChangedEventArgs e)
 {
     if (_valueChangedHandlers != null)
     {
         _valueChangedHandlers(this, e);
     }
 }
Ejemplo n.º 3
0
 private static void ConfigNodePropertyChanged(object sender, ConfigChangedEventArgs evtArgs)
 {
     WriteBack();
     //notify consuming applications
     OnUserConfigChanged?.Invoke(evtArgs);
 }