private global::Windows.UI.Xaml.Markup.IXamlType CreateXamlType(int typeIndex) { global::ASM.ASM_XamlTypeInfo.XamlSystemBaseType xamlType = null; global::ASM.ASM_XamlTypeInfo.XamlUserType userType; string typeName = _typeNameTable[typeIndex]; global::System.Type type = _typeTable[typeIndex]; switch (typeIndex) { case 0: // ASM.MainPage userType = new global::ASM.ASM_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::ASM.ASM_XamlTypeInfo.XamlSystemBaseType(typeName, type); break; case 2: // Windows.UI.Xaml.Controls.UserControl xamlType = new global::ASM.ASM_XamlTypeInfo.XamlSystemBaseType(typeName, type); break; case 3: // ASM.Views.CreateSong userType = new global::ASM.ASM_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.Page")); userType.Activator = Activate_3_CreateSong; userType.SetIsLocalType(); xamlType = userType; break; case 4: // ASM.Views.Login userType = new global::ASM.ASM_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.Page")); userType.Activator = Activate_4_Login; userType.SetIsLocalType(); xamlType = userType; break; case 5: // ASM.Views.p userType = new global::ASM.ASM_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.Page")); userType.Activator = Activate_5_p; userType.AddMemberName("CurrentContact"); userType.SetIsLocalType(); xamlType = userType; break; case 6: // Windows.ApplicationModel.Contacts.Contact userType = new global::ASM.ASM_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Object")); userType.SetIsReturnTypeStub(); xamlType = userType; break; case 7: // Object xamlType = new global::ASM.ASM_XamlTypeInfo.XamlSystemBaseType(typeName, type); break; case 8: // ASM.Views.Register userType = new global::ASM.ASM_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.Page")); userType.Activator = Activate_8_Register; userType.SetIsLocalType(); xamlType = userType; break; case 9: // ASM.Views.UserInfo userType = new global::ASM.ASM_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.Page")); userType.Activator = Activate_9_UserInfo; userType.SetIsLocalType(); xamlType = userType; break; } return(xamlType); }
private global::Windows.UI.Xaml.Markup.IXamlType CreateXamlType(int typeIndex) { global::ASM.ASM_XamlTypeInfo.XamlSystemBaseType xamlType = null; global::ASM.ASM_XamlTypeInfo.XamlUserType userType; string typeName = _typeNameTable[typeIndex]; global::System.Type type = _typeTable[typeIndex]; switch (typeIndex) { case 0: // ASM.ListSong.ListSong userType = new global::ASM.ASM_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.Page")); userType.Activator = Activate_0_ListSong; userType.AddMemberName("ListSongs"); userType.SetIsLocalType(); xamlType = userType; break; case 1: // Windows.UI.Xaml.Controls.Page xamlType = new global::ASM.ASM_XamlTypeInfo.XamlSystemBaseType(typeName, type); break; case 2: // Windows.UI.Xaml.Controls.UserControl xamlType = new global::ASM.ASM_XamlTypeInfo.XamlSystemBaseType(typeName, type); break; case 3: // System.Collections.ObjectModel.ObservableCollection`1<ASM.Entity.Song> userType = new global::ASM.ASM_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("System.Collections.ObjectModel.Collection`1<ASM.Entity.Song>")); userType.CollectionAdd = VectorAdd_3_ObservableCollection; userType.SetIsReturnTypeStub(); xamlType = userType; break; case 4: // System.Collections.ObjectModel.Collection`1<ASM.Entity.Song> userType = new global::ASM.ASM_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Object")); userType.Activator = Activate_4_Collection; userType.CollectionAdd = VectorAdd_4_Collection; xamlType = userType; break; case 5: // Object xamlType = new global::ASM.ASM_XamlTypeInfo.XamlSystemBaseType(typeName, type); break; case 6: // ASM.Entity.Song userType = new global::ASM.ASM_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Object")); userType.Activator = Activate_6_Song; userType.AddMemberName("name"); userType.AddMemberName("thumbnail"); userType.AddMemberName("link"); userType.SetIsLocalType(); xamlType = userType; break; case 7: // String xamlType = new global::ASM.ASM_XamlTypeInfo.XamlSystemBaseType(typeName, type); break; case 8: // ASM.MainPage userType = new global::ASM.ASM_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.Page")); userType.Activator = Activate_8_MainPage; userType.SetIsLocalType(); xamlType = userType; break; case 9: // ASM.Signin.ADD userType = new global::ASM.ASM_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.Page")); userType.Activator = Activate_9_ADD; userType.SetIsLocalType(); xamlType = userType; break; case 10: // ASM.Signin.Information userType = new global::ASM.ASM_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.Page")); userType.Activator = Activate_10_Information; userType.SetIsLocalType(); xamlType = userType; break; case 11: // ASM.Signin.SignIn userType = new global::ASM.ASM_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.Page")); userType.Activator = Activate_11_SignIn; userType.SetIsLocalType(); xamlType = userType; break; case 12: // ASM.Signup.SignUp userType = new global::ASM.ASM_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.Page")); userType.Activator = Activate_12_SignUp; userType.SetIsLocalType(); xamlType = userType; break; } return(xamlType); }
private global::Windows.UI.Xaml.Markup.IXamlType CreateXamlType(int typeIndex) { global::ASM.ASM_XamlTypeInfo.XamlSystemBaseType xamlType = null; global::ASM.ASM_XamlTypeInfo.XamlUserType userType; string typeName = _typeNameTable[typeIndex]; global::System.Type type = _typeTable[typeIndex]; switch (typeIndex) { case 0: // ASM.MainPage userType = new global::ASM.ASM_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::ASM.ASM_XamlTypeInfo.XamlSystemBaseType(typeName, type); break; case 2: // Windows.UI.Xaml.Controls.UserControl xamlType = new global::ASM.ASM_XamlTypeInfo.XamlSystemBaseType(typeName, type); break; case 3: // ASM.Views.ListMusic userType = new global::ASM.ASM_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.Page")); userType.Activator = Activate_3_ListMusic; userType.SetIsLocalType(); xamlType = userType; break; case 4: // ASM.Views.ListSong userType = new global::ASM.ASM_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.Page")); userType.Activator = Activate_4_ListSong; userType.AddMemberName("ListSongs"); userType.SetIsLocalType(); xamlType = userType; break; case 5: // System.Collections.ObjectModel.ObservableCollection`1<ASM.Entity.Song> userType = new global::ASM.ASM_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("System.Collections.ObjectModel.Collection`1<ASM.Entity.Song>")); userType.CollectionAdd = VectorAdd_5_ObservableCollection; userType.SetIsReturnTypeStub(); xamlType = userType; break; case 6: // System.Collections.ObjectModel.Collection`1<ASM.Entity.Song> userType = new global::ASM.ASM_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Object")); userType.Activator = Activate_6_Collection; userType.CollectionAdd = VectorAdd_6_Collection; xamlType = userType; break; case 7: // Object xamlType = new global::ASM.ASM_XamlTypeInfo.XamlSystemBaseType(typeName, type); break; case 8: // ASM.Entity.Song userType = new global::ASM.ASM_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Object")); userType.Activator = Activate_8_Song; userType.AddMemberName("name"); userType.AddMemberName("thumbnail"); userType.AddMemberName("author"); userType.AddMemberName("description"); userType.AddMemberName("singer"); userType.AddMemberName("link"); userType.SetIsLocalType(); xamlType = userType; break; case 9: // String xamlType = new global::ASM.ASM_XamlTypeInfo.XamlSystemBaseType(typeName, type); break; case 10: // ASM.Views.Login userType = new global::ASM.ASM_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.Page")); userType.Activator = Activate_10_Login; userType.SetIsLocalType(); xamlType = userType; break; case 11: // ASM.Views.Register userType = new global::ASM.ASM_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.Page")); userType.Activator = Activate_11_Register; userType.AddMemberName("ServiceUrl"); userType.SetIsLocalType(); xamlType = userType; break; } return(xamlType); }