Nexus.Client.Games.TESO.GeneralSettingsGroup.Load C# (CSharp) Метод

Load() публичный Метод

Loads the grouped setting values from the persistent store.
public Load ( ) : void
Результат void
		public override void Load()
		{
			string strValue = null;
			bool booRetrieved = false;
			if (EnvironmentInfo.Settings.DelayedSettings.ContainsKey(GameMode.ModeId))
				booRetrieved = EnvironmentInfo.Settings.DelayedSettings[GameMode.ModeId].TryGetValue(String.Format("InstallationPaths~{0}", GameMode.ModeId), out strValue);
			if (!booRetrieved)
				EnvironmentInfo.Settings.InstallationPaths.TryGetValue(GameMode.ModeId, out strValue);
			InstallationPath = strValue;

			strValue = null;
			EnvironmentInfo.Settings.CustomLaunchCommands.TryGetValue(GameMode.ModeId, out strValue);
			CustomLaunchCommand = strValue;

			strValue = null;
			EnvironmentInfo.Settings.CustomLaunchCommandArguments.TryGetValue(GameMode.ModeId, out strValue);
			CustomLaunchCommandArguments = strValue;

			RequiredDirectoriesVM.LoadSettings();
		}