private global::Windows.UI.Xaml.Markup.IXamlType CreateXamlType(int typeIndex) { global::Xamarin_Insights.WindowsPhone.Xamarin_Insights_WindowsPhone_XamlTypeInfo.XamlSystemBaseType xamlType = null; global::Xamarin_Insights.WindowsPhone.Xamarin_Insights_WindowsPhone_XamlTypeInfo.XamlUserType userType; string typeName = _typeNameTable[typeIndex]; global::System.Type type = _typeTable[typeIndex]; switch (typeIndex) { case 0: // Cirrious.MvvmCross.WindowsCommon.Views.MvxWindowsPage userType = new global::Xamarin_Insights.WindowsPhone.Xamarin_Insights_WindowsPhone_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.Page")); userType.AddMemberName("WrappedFrame"); userType.AddMemberName("ViewModel"); xamlType = userType; break; case 1: // Windows.UI.Xaml.Controls.Page xamlType = new global::Xamarin_Insights.WindowsPhone.Xamarin_Insights_WindowsPhone_XamlTypeInfo.XamlSystemBaseType(typeName, type); break; case 2: // Windows.UI.Xaml.Controls.UserControl xamlType = new global::Xamarin_Insights.WindowsPhone.Xamarin_Insights_WindowsPhone_XamlTypeInfo.XamlSystemBaseType(typeName, type); break; case 3: // Cirrious.MvvmCross.WindowsCommon.Views.IMvxWindowsFrame userType = new global::Xamarin_Insights.WindowsPhone.Xamarin_Insights_WindowsPhone_XamlTypeInfo.XamlUserType(this, typeName, type, null); userType.SetIsReturnTypeStub(); xamlType = userType; break; case 4: // Cirrious.MvvmCross.ViewModels.IMvxViewModel userType = new global::Xamarin_Insights.WindowsPhone.Xamarin_Insights_WindowsPhone_XamlTypeInfo.XamlUserType(this, typeName, type, null); userType.SetIsReturnTypeStub(); xamlType = userType; break; case 5: // Xamarin_Insights.WindowsPhone.Views.FirstView userType = new global::Xamarin_Insights.WindowsPhone.Xamarin_Insights_WindowsPhone_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Cirrious.MvvmCross.WindowsCommon.Views.MvxWindowsPage")); userType.Activator = Activate_5_FirstView; userType.SetIsLocalType(); xamlType = userType; break; case 6: // Xamarin_Insights.WindowsPhone.Views.SecondView userType = new global::Xamarin_Insights.WindowsPhone.Xamarin_Insights_WindowsPhone_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Cirrious.MvvmCross.WindowsCommon.Views.MvxWindowsPage")); userType.Activator = Activate_6_SecondView; userType.SetIsLocalType(); xamlType = userType; break; case 7: // Xamarin_Insights.WindowsPhone.Views.ThirdView userType = new global::Xamarin_Insights.WindowsPhone.Xamarin_Insights_WindowsPhone_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Cirrious.MvvmCross.WindowsCommon.Views.MvxWindowsPage")); userType.Activator = Activate_7_ThirdView; userType.SetIsLocalType(); xamlType = userType; break; } return(xamlType); }
private global::Windows.UI.Xaml.Markup.IXamlType CreateXamlType(int typeIndex) { global::Xamarin_Insights.WindowsPhone.Xamarin_Insights_WindowsPhone_XamlTypeInfo.XamlSystemBaseType xamlType = null; global::Xamarin_Insights.WindowsPhone.Xamarin_Insights_WindowsPhone_XamlTypeInfo.XamlUserType userType; string typeName = _typeNameTable[typeIndex]; global::System.Type type = _typeTable[typeIndex]; switch (typeIndex) { case 0: // Cirrious.MvvmCross.WindowsCommon.Views.MvxWindowsPage userType = new global::Xamarin_Insights.WindowsPhone.Xamarin_Insights_WindowsPhone_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.Page")); userType.AddMemberName("WrappedFrame"); userType.AddMemberName("ViewModel"); xamlType = userType; break; case 1: // Windows.UI.Xaml.Controls.Page xamlType = new global::Xamarin_Insights.WindowsPhone.Xamarin_Insights_WindowsPhone_XamlTypeInfo.XamlSystemBaseType(typeName, type); break; case 2: // Windows.UI.Xaml.Controls.UserControl xamlType = new global::Xamarin_Insights.WindowsPhone.Xamarin_Insights_WindowsPhone_XamlTypeInfo.XamlSystemBaseType(typeName, type); break; case 3: // Cirrious.MvvmCross.WindowsCommon.Views.IMvxWindowsFrame userType = new global::Xamarin_Insights.WindowsPhone.Xamarin_Insights_WindowsPhone_XamlTypeInfo.XamlUserType(this, typeName, type, null); userType.SetIsReturnTypeStub(); xamlType = userType; break; case 4: // Cirrious.MvvmCross.ViewModels.IMvxViewModel userType = new global::Xamarin_Insights.WindowsPhone.Xamarin_Insights_WindowsPhone_XamlTypeInfo.XamlUserType(this, typeName, type, null); userType.SetIsReturnTypeStub(); xamlType = userType; break; case 5: // Xamarin_Insights.WindowsPhone.Views.FirstView userType = new global::Xamarin_Insights.WindowsPhone.Xamarin_Insights_WindowsPhone_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Cirrious.MvvmCross.WindowsCommon.Views.MvxWindowsPage")); userType.Activator = Activate_5_FirstView; userType.SetIsLocalType(); xamlType = userType; break; case 6: // Xamarin_Insights.WindowsPhone.Views.SecondView userType = new global::Xamarin_Insights.WindowsPhone.Xamarin_Insights_WindowsPhone_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Cirrious.MvvmCross.WindowsCommon.Views.MvxWindowsPage")); userType.Activator = Activate_6_SecondView; userType.SetIsLocalType(); xamlType = userType; break; case 7: // Xamarin_Insights.WindowsPhone.Views.ThirdView userType = new global::Xamarin_Insights.WindowsPhone.Xamarin_Insights_WindowsPhone_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Cirrious.MvvmCross.WindowsCommon.Views.MvxWindowsPage")); userType.Activator = Activate_7_ThirdView; userType.SetIsLocalType(); xamlType = userType; break; } return xamlType; }