private void ConfigDaemonOnOnUserConfigChanged(ConfigChangedEventArgs e) { this.Dispatcher.Invoke((Action)(() => { LogBlock.Text = " Change: " + e.Description(); })); }
/// <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); } }
private static void ConfigNodePropertyChanged(object sender, ConfigChangedEventArgs evtArgs) { WriteBack(); //notify consuming applications OnUserConfigChanged?.Invoke(evtArgs); }