AppStore.App.ExtendSplashScreen C# (CSharp) Метод

ExtendSplashScreen() приватный Метод

This method loads all the contents of the store. Meanwhile, the splash screen is in view.
private ExtendSplashScreen ( ) : void
Результат void
        private void ExtendSplashScreen()
        {
            AppList.getAppList().appList.Clear();
            AppList.getMyAppList().myappList.Clear();
            try
            {
                XmlDocument xmldoc = new XmlDocument();
                xmldoc.LoadXml(XDocument.Load("Assets/BuildmLearnStore.xml").ToString());
                foreach (var item in xmldoc.GetElementsByTagName("app"))
                {
                    try
                    {
                        string[] ar = item.InnerText.Split('\n');
                        AppList.getAppList().appList.Add(new Apps(ar[1], ar[2], ar[10], ar[11], ar[3], new string[] { ar[5], ar[6] }, ar[9], ar[8]));
                        var localSettings = Windows.Storage.ApplicationData.Current.LocalSettings;
                        if (localSettings.Values.ContainsKey(ar[1].Trim()))
                        {
                            if ((bool)localSettings.Values[ar[1].Trim()])
                            {
                                AppList.getMyAppList().myappList.Add(new Apps(ar[1], ar[2], ar[10], ar[11], ar[3], new string[] { ar[5], ar[6] }, ar[9], ar[8]));
                            }
                        }
                        else localSettings.Values.Add(ar[1].Trim(), false);
                    }
                    catch (Exception) { }
                }
            }
            catch (Exception) { } 
        }