private global::Windows.UI.Xaml.Markup.IXamlType CreateXamlType(int typeIndex) { global::imgur.imgur_XamlTypeInfo.XamlSystemBaseType xamlType = null; global::imgur.imgur_XamlTypeInfo.XamlUserType userType; string typeName = _typeNameTable[typeIndex]; global::System.Type type = _typeTable[typeIndex]; switch (typeIndex) { case 0: // imgur.View.BasicPage1 userType = new global::imgur.imgur_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.Page")); userType.Activator = Activate_0_BasicPage1; userType.AddMemberName("NavigationHelper"); userType.AddMemberName("DefaultViewModel"); userType.SetIsLocalType(); xamlType = userType; break; case 1: // Windows.UI.Xaml.Controls.Page xamlType = new global::imgur.imgur_XamlTypeInfo.XamlSystemBaseType(typeName, type); break; case 2: // Windows.UI.Xaml.Controls.UserControl xamlType = new global::imgur.imgur_XamlTypeInfo.XamlSystemBaseType(typeName, type); break; case 3: // imgur.Common.NavigationHelper userType = new global::imgur.imgur_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.DependencyObject")); userType.SetIsReturnTypeStub(); userType.SetIsLocalType(); xamlType = userType; break; case 4: // Windows.UI.Xaml.DependencyObject xamlType = new global::imgur.imgur_XamlTypeInfo.XamlSystemBaseType(typeName, type); break; case 5: // imgur.Common.ObservableDictionary userType = new global::imgur.imgur_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Object")); userType.DictionaryAdd = MapAdd_5_ObservableDictionary; userType.SetIsReturnTypeStub(); userType.SetIsLocalType(); xamlType = userType; break; case 6: // Object xamlType = new global::imgur.imgur_XamlTypeInfo.XamlSystemBaseType(typeName, type); break; case 7: // String xamlType = new global::imgur.imgur_XamlTypeInfo.XamlSystemBaseType(typeName, type); break; case 8: // imgur.View.LoginPage userType = new global::imgur.imgur_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.Page")); userType.Activator = Activate_8_LoginPage; userType.AddMemberName("get"); userType.AddMemberName("NavigationHelper"); userType.AddMemberName("DefaultViewModel"); userType.SetIsLocalType(); xamlType = userType; break; case 9: // imgur.View.Pictures userType = new global::imgur.imgur_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.Page")); userType.Activator = Activate_9_Pictures; userType.SetIsLocalType(); xamlType = userType; break; case 10: // imgur.View.Single userType = new global::imgur.imgur_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.Page")); userType.Activator = Activate_10_Single; userType.AddMemberName("NavigationHelper"); userType.AddMemberName("DefaultViewModel"); userType.SetIsLocalType(); xamlType = userType; break; } return(xamlType); }
private global::Windows.UI.Xaml.Markup.IXamlType CreateXamlType(int typeIndex) { global::imgur.imgur_XamlTypeInfo.XamlSystemBaseType xamlType = null; global::imgur.imgur_XamlTypeInfo.XamlUserType userType; string typeName = _typeNameTable[typeIndex]; global::System.Type type = _typeTable[typeIndex]; switch (typeIndex) { case 0: // imgur.View.BasicPage1 userType = new global::imgur.imgur_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.Page")); userType.Activator = Activate_0_BasicPage1; userType.AddMemberName("NavigationHelper"); userType.AddMemberName("DefaultViewModel"); userType.SetIsLocalType(); xamlType = userType; break; case 1: // Windows.UI.Xaml.Controls.Page xamlType = new global::imgur.imgur_XamlTypeInfo.XamlSystemBaseType(typeName, type); break; case 2: // Windows.UI.Xaml.Controls.UserControl xamlType = new global::imgur.imgur_XamlTypeInfo.XamlSystemBaseType(typeName, type); break; case 3: // imgur.Common.NavigationHelper userType = new global::imgur.imgur_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.DependencyObject")); userType.SetIsReturnTypeStub(); userType.SetIsLocalType(); xamlType = userType; break; case 4: // Windows.UI.Xaml.DependencyObject xamlType = new global::imgur.imgur_XamlTypeInfo.XamlSystemBaseType(typeName, type); break; case 5: // imgur.Common.ObservableDictionary userType = new global::imgur.imgur_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Object")); userType.DictionaryAdd = MapAdd_5_ObservableDictionary; userType.SetIsReturnTypeStub(); userType.SetIsLocalType(); xamlType = userType; break; case 6: // Object xamlType = new global::imgur.imgur_XamlTypeInfo.XamlSystemBaseType(typeName, type); break; case 7: // String xamlType = new global::imgur.imgur_XamlTypeInfo.XamlSystemBaseType(typeName, type); break; case 8: // imgur.View.LoginPage userType = new global::imgur.imgur_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.Page")); userType.Activator = Activate_8_LoginPage; userType.AddMemberName("get"); userType.AddMemberName("NavigationHelper"); userType.AddMemberName("DefaultViewModel"); userType.SetIsLocalType(); xamlType = userType; break; case 9: // imgur.View.Pictures userType = new global::imgur.imgur_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.Page")); userType.Activator = Activate_9_Pictures; userType.SetIsLocalType(); xamlType = userType; break; case 10: // imgur.View.Single userType = new global::imgur.imgur_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.Page")); userType.Activator = Activate_10_Single; userType.AddMemberName("NavigationHelper"); userType.AddMemberName("DefaultViewModel"); userType.SetIsLocalType(); xamlType = userType; break; } return xamlType; }