protected string DetermineFilepath(SettingsObject settings)
 {
     return(DetermineFilepath(settings.GetType(), settings.ID));
 }
Example #2
0
        public static void ReloadSetting(this ISettingsProvider settingsProvider, SettingsObject setting)
        {
            var reloaded = settingsProvider.LoadSetting(setting.GetType(), setting.ID);

            Tools.Object.CopyMembers(setting, reloaded);
        }
 protected virtual string DetermineFilename(SettingsObject settingsObject)
 {
     Preconditions.CheckNotNull(settingsObject, "settingsObject");
     return(DetermineFilename(settingsObject.GetType(), settingsObject.ID));
 }