private global::Windows.UI.Xaml.Markup.IXamlType CreateXamlType(int typeIndex) { global::BindingPersonaListaPersonaConDataContext.BindingPersonaListaPersonaConDataContext_XamlTypeInfo.XamlSystemBaseType xamlType = null; global::BindingPersonaListaPersonaConDataContext.BindingPersonaListaPersonaConDataContext_XamlTypeInfo.XamlUserType userType; string typeName = _typeNameTable[typeIndex]; global::System.Type type = _typeTable[typeIndex]; switch (typeIndex) { case 0: // BindingPersonaListaPersonaConDataContext.MainPage userType = new global::BindingPersonaListaPersonaConDataContext.BindingPersonaListaPersonaConDataContext_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.Page")); userType.Activator = Activate_0_MainPage; userType.AddMemberName("viewModel"); userType.SetIsLocalType(); xamlType = userType; break; case 1: // Windows.UI.Xaml.Controls.Page xamlType = new global::BindingPersonaListaPersonaConDataContext.BindingPersonaListaPersonaConDataContext_XamlTypeInfo.XamlSystemBaseType(typeName, type); break; case 2: // Windows.UI.Xaml.Controls.UserControl xamlType = new global::BindingPersonaListaPersonaConDataContext.BindingPersonaListaPersonaConDataContext_XamlTypeInfo.XamlSystemBaseType(typeName, type); break; case 3: // BindingPersonaListaPersonaConDataContext.ViewModels.MainPageMV userType = new global::BindingPersonaListaPersonaConDataContext.BindingPersonaListaPersonaConDataContext_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Object")); userType.SetIsReturnTypeStub(); userType.SetIsLocalType(); xamlType = userType; break; case 4: // Object xamlType = new global::BindingPersonaListaPersonaConDataContext.BindingPersonaListaPersonaConDataContext_XamlTypeInfo.XamlSystemBaseType(typeName, type); break; } return(xamlType); }
private global::Windows.UI.Xaml.Markup.IXamlType CreateXamlType(int typeIndex) { global::BindingPersonaListaPersonaConDataContext.BindingPersonaListaPersonaConDataContext_XamlTypeInfo.XamlSystemBaseType xamlType = null; global::BindingPersonaListaPersonaConDataContext.BindingPersonaListaPersonaConDataContext_XamlTypeInfo.XamlUserType userType; string typeName = _typeNameTable[typeIndex]; global::System.Type type = _typeTable[typeIndex]; switch (typeIndex) { case 0: // BindingPersonaListaPersonaConDataContext.ViewModels.MainPageMV userType = new global::BindingPersonaListaPersonaConDataContext.BindingPersonaListaPersonaConDataContext_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Object")); userType.Activator = Activate_0_MainPageMV; userType.AddMemberName("ListaDepersonas"); userType.AddMemberName("PersonaSeleccionada"); userType.SetIsLocalType(); xamlType = userType; break; case 1: // Object xamlType = new global::BindingPersonaListaPersonaConDataContext.BindingPersonaListaPersonaConDataContext_XamlTypeInfo.XamlSystemBaseType(typeName, type); break; case 2: // System.Collections.ObjectModel.ObservableCollection`1<BindingPersonaListaPersonaConDataContext.Models.Persona> userType = new global::BindingPersonaListaPersonaConDataContext.BindingPersonaListaPersonaConDataContext_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("System.Collections.ObjectModel.Collection`1<BindingPersonaListaPersonaConDataContext.Models.Persona>")); userType.CollectionAdd = VectorAdd_2_ObservableCollection; userType.SetIsReturnTypeStub(); xamlType = userType; break; case 3: // System.Collections.ObjectModel.Collection`1<BindingPersonaListaPersonaConDataContext.Models.Persona> userType = new global::BindingPersonaListaPersonaConDataContext.BindingPersonaListaPersonaConDataContext_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Object")); userType.Activator = Activate_3_Collection; userType.CollectionAdd = VectorAdd_3_Collection; xamlType = userType; break; case 4: // BindingPersonaListaPersonaConDataContext.Models.Persona userType = new global::BindingPersonaListaPersonaConDataContext.BindingPersonaListaPersonaConDataContext_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Object")); userType.Activator = Activate_4_Persona; userType.AddMemberName("Nombre"); userType.AddMemberName("Apellidos"); userType.AddMemberName("FechaNacimiento"); userType.AddMemberName("Direccion"); userType.AddMemberName("Telefono"); userType.SetIsLocalType(); xamlType = userType; break; case 5: // String xamlType = new global::BindingPersonaListaPersonaConDataContext.BindingPersonaListaPersonaConDataContext_XamlTypeInfo.XamlSystemBaseType(typeName, type); break; case 6: // System.DateTime userType = new global::BindingPersonaListaPersonaConDataContext.BindingPersonaListaPersonaConDataContext_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("System.ValueType")); userType.SetIsReturnTypeStub(); xamlType = userType; break; case 7: // System.ValueType userType = new global::BindingPersonaListaPersonaConDataContext.BindingPersonaListaPersonaConDataContext_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Object")); xamlType = userType; break; case 8: // BindingPersonaListaPersonaConDataContext.MainPage userType = new global::BindingPersonaListaPersonaConDataContext.BindingPersonaListaPersonaConDataContext_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.Page")); userType.Activator = Activate_8_MainPage; userType.SetIsLocalType(); xamlType = userType; break; case 9: // Windows.UI.Xaml.Controls.Page xamlType = new global::BindingPersonaListaPersonaConDataContext.BindingPersonaListaPersonaConDataContext_XamlTypeInfo.XamlSystemBaseType(typeName, type); break; case 10: // Windows.UI.Xaml.Controls.UserControl xamlType = new global::BindingPersonaListaPersonaConDataContext.BindingPersonaListaPersonaConDataContext_XamlTypeInfo.XamlSystemBaseType(typeName, type); break; } return(xamlType); }