Пример #1
0
 /// <summary>
 /// Saves settings to file
 /// </summary>
 /// <param name="settings">The settings object</param>
 private void SaveSettings(Settings settings)
 {
     PropertyUpdater.Update(this.Settings).With(settings);
     this.Settings.Save();
     this.FilterService.PopulatePatterns();
     this.setNotificationProviders();
 }
Пример #2
0
 public static PropertyUpdater <T> Update <T>(T objectToUpdate)
 {
     return(PropertyUpdater <T> .Update(objectToUpdate));
 }