/// <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(); }
public static PropertyUpdater <T> Update <T>(T objectToUpdate) { return(PropertyUpdater <T> .Update(objectToUpdate)); }