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