private global::Windows.UI.Xaml.Markup.IXamlType CreateXamlType(string typeName) { global::Complejos.Complejos_XamlTypeInfo.XamlSystemBaseType xamlType = null; global::Complejos.Complejos_XamlTypeInfo.XamlUserType userType; switch (typeName) { case "Windows.UI.Xaml.Controls.Page": xamlType = new global::Complejos.Complejos_XamlTypeInfo.XamlSystemBaseType(typeName, typeof(global::Windows.UI.Xaml.Controls.Page)); break; case "Windows.UI.Xaml.Controls.UserControl": xamlType = new global::Complejos.Complejos_XamlTypeInfo.XamlSystemBaseType(typeName, typeof(global::Windows.UI.Xaml.Controls.UserControl)); break; case "Object": xamlType = new global::Complejos.Complejos_XamlTypeInfo.XamlSystemBaseType(typeName, typeof(global::System.Object)); break; case "Complejos.Common.LayoutAwarePage": userType = new global::Complejos.Complejos_XamlTypeInfo.XamlUserType(this, typeName, typeof(global::Complejos.Common.LayoutAwarePage), GetXamlTypeByName("Windows.UI.Xaml.Controls.Page")); userType.Activator = Activate_0_LayoutAwarePage; xamlType = userType; break; case "Complejos.ViewModel.MainViewModel": userType = new global::Complejos.Complejos_XamlTypeInfo.XamlUserType(this, typeName, typeof(global::Complejos.ViewModel.MainViewModel), GetXamlTypeByName("Object")); userType.Activator = Activate_1_MainViewModel; userType.AddMemberName("Binomic"); userType.AddMemberName("Exp"); userType.AddMemberName("Sqrt"); xamlType = userType; break; case "Complejos.BinomicForm": userType = new global::Complejos.Complejos_XamlTypeInfo.XamlUserType(this, typeName, typeof(global::Complejos.BinomicForm), GetXamlTypeByName("Object")); userType.Activator = Activate_2_BinomicForm; xamlType = userType; break; case "Complejos.ExpForm": userType = new global::Complejos.Complejos_XamlTypeInfo.XamlUserType(this, typeName, typeof(global::Complejos.ExpForm), GetXamlTypeByName("Object")); userType.Activator = Activate_3_ExpForm; xamlType = userType; break; case "Complejos.Model.Sqrt": userType = new global::Complejos.Complejos_XamlTypeInfo.XamlUserType(this, typeName, typeof(global::Complejos.Model.Sqrt), GetXamlTypeByName("Object")); userType.Activator = Activate_4_Sqrt; xamlType = userType; break; case "Complejos.Converters.PiConverter": userType = new global::Complejos.Complejos_XamlTypeInfo.XamlUserType(this, typeName, typeof(global::Complejos.Converters.PiConverter), GetXamlTypeByName("Object")); userType.Activator = Activate_5_PiConverter; xamlType = userType; break; case "Complejos.Converters.FormatConverter": userType = new global::Complejos.Complejos_XamlTypeInfo.XamlUserType(this, typeName, typeof(global::Complejos.Converters.FormatConverter), GetXamlTypeByName("Object")); userType.Activator = Activate_6_FormatConverter; xamlType = userType; break; case "Complejos.Converters.toCanvas": userType = new global::Complejos.Complejos_XamlTypeInfo.XamlUserType(this, typeName, typeof(global::Complejos.Converters.toCanvas), GetXamlTypeByName("Object")); userType.Activator = Activate_7_toCanvas; xamlType = userType; break; case "Complejos.MainPage": userType = new global::Complejos.Complejos_XamlTypeInfo.XamlUserType(this, typeName, typeof(global::Complejos.MainPage), GetXamlTypeByName("Complejos.Common.LayoutAwarePage")); userType.Activator = Activate_8_MainPage; xamlType = userType; break; } return xamlType; }
private global::Windows.UI.Xaml.Markup.IXamlType CreateXamlType(string typeName) { global::Complejos.Complejos_XamlTypeInfo.XamlSystemBaseType xamlType = null; global::Complejos.Complejos_XamlTypeInfo.XamlUserType userType; switch (typeName) { case "Windows.UI.Xaml.Controls.Page": xamlType = new global::Complejos.Complejos_XamlTypeInfo.XamlSystemBaseType(typeName, typeof(global::Windows.UI.Xaml.Controls.Page)); break; case "Windows.UI.Xaml.Controls.UserControl": xamlType = new global::Complejos.Complejos_XamlTypeInfo.XamlSystemBaseType(typeName, typeof(global::Windows.UI.Xaml.Controls.UserControl)); break; case "Complejos.Common.LayoutAwarePage": userType = new global::Complejos.Complejos_XamlTypeInfo.XamlUserType(this, typeName, typeof(global::Complejos.Common.LayoutAwarePage), GetXamlTypeByName("Windows.UI.Xaml.Controls.Page")); userType.Activator = Activate_0_LayoutAwarePage; xamlType = userType; break; case "Complejos.MainPage": userType = new global::Complejos.Complejos_XamlTypeInfo.XamlUserType(this, typeName, typeof(global::Complejos.MainPage), GetXamlTypeByName("Complejos.Common.LayoutAwarePage")); userType.Activator = Activate_1_MainPage; xamlType = userType; break; } return xamlType; }