private global::Windows.UI.Xaml.Markup.IXamlType CreateXamlType(int typeIndex) { global::BMICalculator.BMICalculator_XamlTypeInfo.XamlSystemBaseType xamlType = null; global::BMICalculator.BMICalculator_XamlTypeInfo.XamlUserType userType; string typeName = _typeNameTable[typeIndex]; global::System.Type type = _typeTable[typeIndex]; switch (typeIndex) { case 0: // BMICalculator.MainPage userType = new global::BMICalculator.BMICalculator_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.Page")); userType.Activator = Activate_0_MainPage; userType.SetIsLocalType(); xamlType = userType; break; case 1: // Windows.UI.Xaml.Controls.Page xamlType = new global::BMICalculator.BMICalculator_XamlTypeInfo.XamlSystemBaseType(typeName, type); break; case 2: // Windows.UI.Xaml.Controls.UserControl xamlType = new global::BMICalculator.BMICalculator_XamlTypeInfo.XamlSystemBaseType(typeName, type); break; case 3: // BMICalculator.Result userType = new global::BMICalculator.BMICalculator_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.Page")); userType.Activator = Activate_3_Result; userType.SetIsLocalType(); xamlType = userType; break; } return(xamlType); }
private global::Windows.UI.Xaml.Markup.IXamlType CreateXamlType(int typeIndex) { global::BMICalculator.BMICalculator_XamlTypeInfo.XamlSystemBaseType xamlType = null; global::BMICalculator.BMICalculator_XamlTypeInfo.XamlUserType userType; string typeName = _typeNameTable[typeIndex]; global::System.Type type = _typeTable[typeIndex]; switch (typeIndex) { case 0: // BMICalculator.MainPage userType = new global::BMICalculator.BMICalculator_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.Page")); userType.Activator = Activate_0_MainPage; userType.SetIsLocalType(); xamlType = userType; break; case 1: // Windows.UI.Xaml.Controls.Page xamlType = new global::BMICalculator.BMICalculator_XamlTypeInfo.XamlSystemBaseType(typeName, type); break; case 2: // Windows.UI.Xaml.Controls.UserControl xamlType = new global::BMICalculator.BMICalculator_XamlTypeInfo.XamlSystemBaseType(typeName, type); break; case 3: // BMICalculator.MenuPage userType = new global::BMICalculator.BMICalculator_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.Page")); userType.Activator = Activate_3_MenuPage; userType.SetIsLocalType(); xamlType = userType; break; case 4: // BMICalculator.OAplikacjiPage userType = new global::BMICalculator.BMICalculator_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.Page")); userType.Activator = Activate_4_OAplikacjiPage; userType.SetIsLocalType(); xamlType = userType; break; case 5: // BMICalculator.OAutorzePage userType = new global::BMICalculator.BMICalculator_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.Page")); userType.Activator = Activate_5_OAutorzePage; userType.SetIsLocalType(); xamlType = userType; break; case 6: // BMICalculator.page_BMI userType = new global::BMICalculator.BMICalculator_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.Page")); userType.Activator = Activate_6_page_BMI; userType.SetIsLocalType(); xamlType = userType; break; case 7: // BMICalculator.page_BMR userType = new global::BMICalculator.BMICalculator_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.Page")); userType.Activator = Activate_7_page_BMR; userType.SetIsLocalType(); xamlType = userType; break; case 8: // BMICalculator.page_info_BMI userType = new global::BMICalculator.BMICalculator_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.Page")); userType.Activator = Activate_8_page_info_BMI; userType.SetIsLocalType(); xamlType = userType; break; case 9: // BMICalculator.page_info_BMR userType = new global::BMICalculator.BMICalculator_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.Page")); userType.Activator = Activate_9_page_info_BMR; userType.SetIsLocalType(); xamlType = userType; break; } return(xamlType); }