private global::Windows.UI.Xaml.Markup.IXamlType CreateXamlType(string typeName) { global::Instashots.Instashots_XamlTypeInfo.XamlSystemBaseType xamlType = null; global::Instashots.Instashots_XamlTypeInfo.XamlUserType userType; switch (typeName) { case "Windows.UI.Xaml.Controls.UserControl": xamlType = new global::Instashots.Instashots_XamlTypeInfo.XamlSystemBaseType(typeName, typeof(global::Windows.UI.Xaml.Controls.UserControl)); break; case "Int32": xamlType = new global::Instashots.Instashots_XamlTypeInfo.XamlSystemBaseType(typeName, typeof(global::System.Int32)); break; case "String": xamlType = new global::Instashots.Instashots_XamlTypeInfo.XamlSystemBaseType(typeName, typeof(global::System.String)); break; case "Windows.UI.Xaml.Controls.Page": xamlType = new global::Instashots.Instashots_XamlTypeInfo.XamlSystemBaseType(typeName, typeof(global::Windows.UI.Xaml.Controls.Page)); break; case "Instashots.QuickStartTask": userType = new global::Instashots.Instashots_XamlTypeInfo.XamlUserType(this, typeName, typeof(global::Instashots.QuickStartTask), GetXamlTypeByName("Windows.UI.Xaml.Controls.UserControl")); userType.Activator = Activate_0_QuickStartTask; userType.AddMemberName("Number"); AddToMapOfTypeToStandardName(typeof(global::System.Int32), "Int32"); userType.AddMemberName("Title"); AddToMapOfTypeToStandardName(typeof(global::System.String), "String"); userType.AddMemberName("Description"); AddToMapOfTypeToStandardName(typeof(global::System.String), "String"); xamlType = userType; break; case "Instashots.MainPage": userType = new global::Instashots.Instashots_XamlTypeInfo.XamlUserType(this, typeName, typeof(global::Instashots.MainPage), GetXamlTypeByName("Windows.UI.Xaml.Controls.Page")); userType.Activator = Activate_1_MainPage; userType.AddMemberName("UserName"); AddToMapOfTypeToStandardName(typeof(global::System.String), "String"); xamlType = userType; break; } return(xamlType); }
private global::Windows.UI.Xaml.Markup.IXamlType CreateXamlType(string typeName) { global::Instashots.Instashots_XamlTypeInfo.XamlSystemBaseType xamlType = null; global::Instashots.Instashots_XamlTypeInfo.XamlUserType userType; switch (typeName) { case "Object": xamlType = new global::Instashots.Instashots_XamlTypeInfo.XamlSystemBaseType(typeName, typeof(global::System.Object)); break; case "Windows.UI.Xaml.Controls.UserControl": xamlType = new global::Instashots.Instashots_XamlTypeInfo.XamlSystemBaseType(typeName, typeof(global::Windows.UI.Xaml.Controls.UserControl)); break; case "Int32": xamlType = new global::Instashots.Instashots_XamlTypeInfo.XamlSystemBaseType(typeName, typeof(global::System.Int32)); break; case "String": xamlType = new global::Instashots.Instashots_XamlTypeInfo.XamlSystemBaseType(typeName, typeof(global::System.String)); break; case "Windows.UI.Xaml.Controls.Page": xamlType = new global::Instashots.Instashots_XamlTypeInfo.XamlSystemBaseType(typeName, typeof(global::Windows.UI.Xaml.Controls.Page)); break; case "Instashots.ViewModel.ViewModelLocator": userType = new global::Instashots.Instashots_XamlTypeInfo.XamlUserType(this, typeName, typeof(global::Instashots.ViewModel.ViewModelLocator), GetXamlTypeByName("Object")); userType.Activator = Activate_0_ViewModelLocator; userType.AddMemberName("Main"); xamlType = userType; break; case "Instashots.ViewModel.MainViewModel": userType = new global::Instashots.Instashots_XamlTypeInfo.XamlUserType(this, typeName, typeof(global::Instashots.ViewModel.MainViewModel), GetXamlTypeByName("GalaSoft.MvvmLight.ViewModelBase")); userType.Activator = Activate_1_MainViewModel; xamlType = userType; break; case "GalaSoft.MvvmLight.ViewModelBase": userType = new global::Instashots.Instashots_XamlTypeInfo.XamlUserType(this, typeName, typeof(global::GalaSoft.MvvmLight.ViewModelBase), GetXamlTypeByName("GalaSoft.MvvmLight.ObservableObject")); xamlType = userType; break; case "GalaSoft.MvvmLight.ObservableObject": userType = new global::Instashots.Instashots_XamlTypeInfo.XamlUserType(this, typeName, typeof(global::GalaSoft.MvvmLight.ObservableObject), GetXamlTypeByName("Object")); userType.Activator = Activate_3_ObservableObject; xamlType = userType; break; case "Instashots.QuickStartTask": userType = new global::Instashots.Instashots_XamlTypeInfo.XamlUserType(this, typeName, typeof(global::Instashots.QuickStartTask), GetXamlTypeByName("Windows.UI.Xaml.Controls.UserControl")); userType.Activator = Activate_4_QuickStartTask; userType.AddMemberName("Number"); AddToMapOfTypeToStandardName(typeof(global::System.Int32), "Int32"); userType.AddMemberName("Title"); AddToMapOfTypeToStandardName(typeof(global::System.String), "String"); userType.AddMemberName("Description"); AddToMapOfTypeToStandardName(typeof(global::System.String), "String"); xamlType = userType; break; case "Instashots.Common.UrlToBitmapImageConverter": userType = new global::Instashots.Instashots_XamlTypeInfo.XamlUserType(this, typeName, typeof(global::Instashots.Common.UrlToBitmapImageConverter), GetXamlTypeByName("Object")); userType.Activator = Activate_5_UrlToBitmapImageConverter; xamlType = userType; break; case "Instashots.MainPage": userType = new global::Instashots.Instashots_XamlTypeInfo.XamlUserType(this, typeName, typeof(global::Instashots.MainPage), GetXamlTypeByName("Windows.UI.Xaml.Controls.Page")); userType.Activator = Activate_6_MainPage; xamlType = userType; break; } return(xamlType); }