Beispiel #1
0
 // load settings from specified location using default name
 public static SettingsBase Load(SettingsBase defaultSettings, LocationType locationType)
 {
     return(Load(defaultSettings, locationType, defaultSettings.DefaultName()));
 }
Beispiel #2
0
        // Load settings from specified location using specified path and default filename
        public static SettingsBase LoadFromPath(SettingsBase defaultSettings, string path)
        {
            string fileName = Path.Combine(path, defaultSettings.DefaultName());

            return(Load(defaultSettings, fileName));
        }