private global::Windows.UI.Xaml.Markup.IXamlType CreateXamlType(int typeIndex) { global::CarpenterApp.CarpenterApp_XamlTypeInfo.XamlSystemBaseType xamlType = null; global::CarpenterApp.CarpenterApp_XamlTypeInfo.XamlUserType userType; string typeName = _typeNameTable[typeIndex]; global::System.Type type = _typeTable[typeIndex]; switch (typeIndex) { case 0: // CarpenterApp._3dPyradmidPage userType = new global::CarpenterApp.CarpenterApp_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.Page")); userType.Activator = Activate_0__3dPyradmidPage; userType.SetIsLocalType(); xamlType = userType; break; case 1: // Windows.UI.Xaml.Controls.Page xamlType = new global::CarpenterApp.CarpenterApp_XamlTypeInfo.XamlSystemBaseType(typeName, type); break; case 2: // Windows.UI.Xaml.Controls.UserControl xamlType = new global::CarpenterApp.CarpenterApp_XamlTypeInfo.XamlSystemBaseType(typeName, type); break; case 3: // CarpenterApp.CubeSelectionPage userType = new global::CarpenterApp.CarpenterApp_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.Page")); userType.Activator = Activate_3_CubeSelectionPage; userType.SetIsLocalType(); xamlType = userType; break; case 4: // CarpenterApp.CubeViewer userType = new global::CarpenterApp.CarpenterApp_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.Page")); userType.Activator = Activate_4_CubeViewer; userType.SetIsLocalType(); xamlType = userType; break; case 5: // CarpenterApp.InputPage userType = new global::CarpenterApp.CarpenterApp_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.Page")); userType.Activator = Activate_5_InputPage; userType.SetIsLocalType(); xamlType = userType; break; case 6: // CarpenterApp.MainPage userType = new global::CarpenterApp.CarpenterApp_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.Page")); userType.Activator = Activate_6_MainPage; userType.SetIsLocalType(); xamlType = userType; break; case 7: // CarpenterApp.PyramidResultPage userType = new global::CarpenterApp.CarpenterApp_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.Page")); userType.Activator = Activate_7_PyramidResultPage; userType.SetIsLocalType(); xamlType = userType; break; case 8: // CarpenterApp.PyramidSelectionPage userType = new global::CarpenterApp.CarpenterApp_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.Page")); userType.Activator = Activate_8_PyramidSelectionPage; userType.SetIsLocalType(); xamlType = userType; break; case 9: // CarpenterApp.ResultPage userType = new global::CarpenterApp.CarpenterApp_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.Page")); userType.Activator = Activate_9_ResultPage; userType.SetIsLocalType(); xamlType = userType; break; } return xamlType; }
private global::Windows.UI.Xaml.Markup.IXamlType CreateXamlType(int typeIndex) { global::CarpenterApp.CarpenterApp_XamlTypeInfo.XamlSystemBaseType xamlType = null; global::CarpenterApp.CarpenterApp_XamlTypeInfo.XamlUserType userType; string typeName = _typeNameTable[typeIndex]; global::System.Type type = _typeTable[typeIndex]; switch (typeIndex) { case 0: // CarpenterApp._3dPyradmidPage userType = new global::CarpenterApp.CarpenterApp_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.Page")); userType.Activator = Activate_0__3dPyradmidPage; userType.SetIsLocalType(); xamlType = userType; break; case 1: // Windows.UI.Xaml.Controls.Page xamlType = new global::CarpenterApp.CarpenterApp_XamlTypeInfo.XamlSystemBaseType(typeName, type); break; case 2: // Windows.UI.Xaml.Controls.UserControl xamlType = new global::CarpenterApp.CarpenterApp_XamlTypeInfo.XamlSystemBaseType(typeName, type); break; case 3: // CarpenterApp.CubeSelectionPage userType = new global::CarpenterApp.CarpenterApp_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.Page")); userType.Activator = Activate_3_CubeSelectionPage; userType.SetIsLocalType(); xamlType = userType; break; case 4: // CarpenterApp.CubeViewer userType = new global::CarpenterApp.CarpenterApp_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.Page")); userType.Activator = Activate_4_CubeViewer; userType.SetIsLocalType(); xamlType = userType; break; case 5: // CarpenterApp.InputPage userType = new global::CarpenterApp.CarpenterApp_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.Page")); userType.Activator = Activate_5_InputPage; userType.SetIsLocalType(); xamlType = userType; break; case 6: // CarpenterApp.MainPage userType = new global::CarpenterApp.CarpenterApp_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.Page")); userType.Activator = Activate_6_MainPage; userType.SetIsLocalType(); xamlType = userType; break; case 7: // CarpenterApp.PyramidResultPage userType = new global::CarpenterApp.CarpenterApp_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.Page")); userType.Activator = Activate_7_PyramidResultPage; userType.SetIsLocalType(); xamlType = userType; break; case 8: // CarpenterApp.PyramidSelectionPage userType = new global::CarpenterApp.CarpenterApp_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.Page")); userType.Activator = Activate_8_PyramidSelectionPage; userType.SetIsLocalType(); xamlType = userType; break; case 9: // CarpenterApp.ResultPage userType = new global::CarpenterApp.CarpenterApp_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.Page")); userType.Activator = Activate_9_ResultPage; userType.SetIsLocalType(); xamlType = userType; break; } return(xamlType); }