// load settings from specified location using default name public static SettingsBase Load(SettingsBase defaultSettings, LocationType locationType) { return(Load(defaultSettings, locationType, defaultSettings.DefaultName())); }
// load settings from specified location using default name public static SettingsBase Load(SettingsBase defaultSettings, LocationType locationType) { return Load(defaultSettings, locationType, defaultSettings.DefaultName()); }
// 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)); }
// 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); }