Exemple #1
0
		private static UserPrefSettings GetSettings()
		{
			UserPrefSettings settings = new UserPrefSettings();

			if (settings.CallUpgrade)
			{
				settings.Upgrade();
				settings.CallUpgrade = false;
				settings.Save();
			}

			return settings;
		}
        private static UserPrefSettings GetSettings()
        {
            UserPrefSettings settings = new UserPrefSettings();

            if (settings.CallUpgrade)
            {
                settings.Upgrade();
                settings.CallUpgrade = false;
                settings.Save();
            }

            return(settings);
        }