/// <summary>
 /// All code related to loading data when app starts
 /// </summary>
 /// <param name="e"></param>
 /// <returns></returns>
 private static void EnsureWindow()
 {
     // Load all lists since we will need them anyway
     // This must block as the app can not resume without this data being loaded
     IconItemSource.LoadIconsList();
     SystemColorsItemSource.LoadSystemColors();
     SystemBrushItemSource.LoadSystemBrushes();
     UniversalPlatformVersionSource.LoadWindowsVersionContracts();
 }
        public void SymbolsOnlyFilterIsCorrect()
        {
            var source = new IconItemSource();

            source.Filter("Global");
            foreach (var item in source.FilteredSymbolItems)
            {
                Assert.IsTrue(item.IsSymbol);
            }

            source.Filter("ED55");
            Assert.IsTrue(source.FilteredSymbolItems.Count == 0);
        }
 public static void ClassInitialize(TestContext context)
 {
     IconItemSource.LoadIconsList();
 }