Exemplo n.º 1
0
 public void SaveApplicationSettings(ApplicationSettings applicationSettings)
 {
     _roamingSettings.WriteValueAsJson(nameof(ApplicationSettings), applicationSettings);
     ApplicationSettingsChanged?.Invoke(this, applicationSettings);
 }
Exemplo n.º 2
0
 private void TriggerApplicationSettingsChanged()
 {
     ApplicationSettingsChanged?.Invoke(this, new ApplicationChangedEventArgs(this));
 }