private global::Windows.UI.Xaml.Markup.IXamlType CreateXamlType(int typeIndex) { global::TPCWare.SQLiteTest.TPCWare_SQLiteTest_Windows_XamlTypeInfo.XamlSystemBaseType xamlType = null; global::TPCWare.SQLiteTest.TPCWare_SQLiteTest_Windows_XamlTypeInfo.XamlUserType userType; string typeName = _typeNameTable[typeIndex]; global::System.Type type = _typeTable[typeIndex]; switch (typeIndex) { case 0: // TPCWare.SQLiteTest.MainPage userType = new global::TPCWare.SQLiteTest.TPCWare_SQLiteTest_Windows_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::TPCWare.SQLiteTest.TPCWare_SQLiteTest_Windows_XamlTypeInfo.XamlSystemBaseType(typeName, type); break; case 2: // Windows.UI.Xaml.Controls.UserControl xamlType = new global::TPCWare.SQLiteTest.TPCWare_SQLiteTest_Windows_XamlTypeInfo.XamlSystemBaseType(typeName, type); break; } return xamlType; }
private global::Windows.UI.Xaml.Markup.IXamlType CreateXamlType(int typeIndex) { global::TPCWare.SQLiteTest.TPCWare_SQLiteTest_Windows_XamlTypeInfo.XamlSystemBaseType xamlType = null; global::TPCWare.SQLiteTest.TPCWare_SQLiteTest_Windows_XamlTypeInfo.XamlUserType userType; string typeName = _typeNameTable[typeIndex]; global::System.Type type = _typeTable[typeIndex]; switch (typeIndex) { case 0: // TPCWare.SQLiteTest.Calculate userType = new global::TPCWare.SQLiteTest.TPCWare_SQLiteTest_Windows_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.Page")); userType.Activator = Activate_0_Calculate; userType.SetIsLocalType(); xamlType = userType; break; case 1: // Windows.UI.Xaml.Controls.Page xamlType = new global::TPCWare.SQLiteTest.TPCWare_SQLiteTest_Windows_XamlTypeInfo.XamlSystemBaseType(typeName, type); break; case 2: // Windows.UI.Xaml.Controls.UserControl xamlType = new global::TPCWare.SQLiteTest.TPCWare_SQLiteTest_Windows_XamlTypeInfo.XamlSystemBaseType(typeName, type); break; case 3: // TPCWare.SQLiteTest.GetDirections userType = new global::TPCWare.SQLiteTest.TPCWare_SQLiteTest_Windows_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.Page")); userType.Activator = Activate_3_GetDirections; userType.SetIsLocalType(); xamlType = userType; break; case 4: // TPCWare.SQLiteTest.MainPage userType = new global::TPCWare.SQLiteTest.TPCWare_SQLiteTest_Windows_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.Page")); userType.Activator = Activate_4_MainPage; userType.AddMemberName("users"); userType.SetIsLocalType(); xamlType = userType; break; case 5: // System.Collections.Generic.List`1<TPCWare.SQLiteTest.Model.Campuses> userType = new global::TPCWare.SQLiteTest.TPCWare_SQLiteTest_Windows_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Object")); userType.CollectionAdd = VectorAdd_5_List; userType.SetIsReturnTypeStub(); xamlType = userType; break; case 6: // Object xamlType = new global::TPCWare.SQLiteTest.TPCWare_SQLiteTest_Windows_XamlTypeInfo.XamlSystemBaseType(typeName, type); break; case 7: // TPCWare.SQLiteTest.Model.Campuses userType = new global::TPCWare.SQLiteTest.TPCWare_SQLiteTest_Windows_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Object")); userType.Activator = Activate_7_Campuses; userType.AddMemberName("Id"); userType.AddMemberName("Name"); userType.AddMemberName("City"); userType.AddMemberName("WebsiteLink"); userType.AddMemberName("Latitude"); userType.AddMemberName("Longitude"); userType.SetIsLocalType(); xamlType = userType; break; case 8: // Int32 xamlType = new global::TPCWare.SQLiteTest.TPCWare_SQLiteTest_Windows_XamlTypeInfo.XamlSystemBaseType(typeName, type); break; case 9: // String xamlType = new global::TPCWare.SQLiteTest.TPCWare_SQLiteTest_Windows_XamlTypeInfo.XamlSystemBaseType(typeName, type); break; case 10: // Double xamlType = new global::TPCWare.SQLiteTest.TPCWare_SQLiteTest_Windows_XamlTypeInfo.XamlSystemBaseType(typeName, type); break; case 11: // TPCWare.SQLiteTest.QualifyCourses userType = new global::TPCWare.SQLiteTest.TPCWare_SQLiteTest_Windows_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.Page")); userType.Activator = Activate_11_QualifyCourses; userType.SetIsLocalType(); xamlType = userType; break; case 12: // TPCWare.SQLiteTest.Search userType = new global::TPCWare.SQLiteTest.TPCWare_SQLiteTest_Windows_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.Page")); userType.Activator = Activate_12_Search; userType.SetIsLocalType(); xamlType = userType; break; case 13: // TPCWare.SQLiteTest.SearchCollege userType = new global::TPCWare.SQLiteTest.TPCWare_SQLiteTest_Windows_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.Page")); userType.Activator = Activate_13_SearchCollege; userType.AddMemberName("college"); userType.SetIsLocalType(); xamlType = userType; break; case 14: // System.Collections.Generic.List`1<TPCWare.SQLiteTest.Model.College> userType = new global::TPCWare.SQLiteTest.TPCWare_SQLiteTest_Windows_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Object")); userType.CollectionAdd = VectorAdd_14_List; userType.SetIsReturnTypeStub(); xamlType = userType; break; case 15: // TPCWare.SQLiteTest.Model.College userType = new global::TPCWare.SQLiteTest.TPCWare_SQLiteTest_Windows_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Object")); userType.Activator = Activate_15_College; userType.AddMemberName("Id"); userType.AddMemberName("Name"); userType.AddMemberName("City"); userType.SetIsLocalType(); xamlType = userType; break; case 16: // TPCWare.SQLiteTest.SearchPage userType = new global::TPCWare.SQLiteTest.TPCWare_SQLiteTest_Windows_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.Page")); userType.Activator = Activate_16_SearchPage; userType.AddMemberName("users"); userType.SetIsLocalType(); xamlType = userType; break; case 17: // System.Collections.Generic.List`1<TPCWare.SQLiteTest.Model.Universities> userType = new global::TPCWare.SQLiteTest.TPCWare_SQLiteTest_Windows_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Object")); userType.CollectionAdd = VectorAdd_17_List; userType.SetIsReturnTypeStub(); xamlType = userType; break; case 18: // TPCWare.SQLiteTest.Model.Universities userType = new global::TPCWare.SQLiteTest.TPCWare_SQLiteTest_Windows_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Object")); userType.Activator = Activate_18_Universities; userType.AddMemberName("Id"); userType.AddMemberName("Name"); userType.SetIsLocalType(); xamlType = userType; break; case 19: // TPCWare.SQLiteTest.ViewCourses userType = new global::TPCWare.SQLiteTest.TPCWare_SQLiteTest_Windows_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.Page")); userType.Activator = Activate_19_ViewCourses; userType.AddMemberName("users"); userType.SetIsLocalType(); xamlType = userType; break; case 20: // System.Collections.Generic.List`1<TPCWare.SQLiteTest.Model.Courses> userType = new global::TPCWare.SQLiteTest.TPCWare_SQLiteTest_Windows_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Object")); userType.CollectionAdd = VectorAdd_20_List; userType.SetIsReturnTypeStub(); xamlType = userType; break; case 21: // TPCWare.SQLiteTest.Model.Courses userType = new global::TPCWare.SQLiteTest.TPCWare_SQLiteTest_Windows_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Object")); userType.Activator = Activate_21_Courses; userType.AddMemberName("Id"); userType.AddMemberName("Name"); userType.AddMemberName("courses"); userType.SetIsLocalType(); xamlType = userType; break; case 22: // TPCWare.SQLiteTest.ViewLocation userType = new global::TPCWare.SQLiteTest.TPCWare_SQLiteTest_Windows_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.Page")); userType.Activator = Activate_22_ViewLocation; userType.SetIsLocalType(); xamlType = userType; break; case 23: // TPCWare.SQLiteTest.ViewPage userType = new global::TPCWare.SQLiteTest.TPCWare_SQLiteTest_Windows_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.Page")); userType.Activator = Activate_23_ViewPage; userType.SetIsLocalType(); xamlType = userType; break; case 24: // TPCWare.SQLiteTest.ViewPDF userType = new global::TPCWare.SQLiteTest.TPCWare_SQLiteTest_Windows_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.Page")); userType.Activator = Activate_24_ViewPDF; userType.AddMemberName("users"); userType.SetIsLocalType(); xamlType = userType; break; case 25: // TPCWare.SQLiteTest.Wrong userType = new global::TPCWare.SQLiteTest.TPCWare_SQLiteTest_Windows_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.Page")); userType.Activator = Activate_25_Wrong; userType.AddMemberName("users"); userType.SetIsLocalType(); xamlType = userType; break; } return xamlType; }