private global::Windows.UI.Xaml.Markup.IXamlType CreateXamlType(int typeIndex) { global::Whistler.Whistler_XamlTypeInfo.XamlSystemBaseType xamlType = null; global::Whistler.Whistler_XamlTypeInfo.XamlUserType userType; string typeName = _typeNameTable[typeIndex]; global::System.Type type = _typeTable[typeIndex]; switch (typeIndex) { case 0: // Whistler.ViewModel.ViewModelLocator userType = new global::Whistler.Whistler_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Object")); userType.Activator = Activate_0_ViewModelLocator; userType.AddMemberName("MainCategoriesViewModel"); userType.AddMemberName("MainPageViewModel"); userType.SetIsLocalType(); xamlType = userType; break; case 1: // Object xamlType = new global::Whistler.Whistler_XamlTypeInfo.XamlSystemBaseType(typeName, type); break; case 2: // Whistler.ViewModel.MainCategoriesViewModel userType = new global::Whistler.Whistler_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("GalaSoft.MvvmLight.ViewModelBase")); userType.SetIsReturnTypeStub(); userType.SetIsLocalType(); xamlType = userType; break; case 3: // GalaSoft.MvvmLight.ViewModelBase userType = new global::Whistler.Whistler_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("GalaSoft.MvvmLight.ObservableObject")); xamlType = userType; break; case 4: // GalaSoft.MvvmLight.ObservableObject userType = new global::Whistler.Whistler_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Object")); userType.Activator = Activate_4_ObservableObject; xamlType = userType; break; case 5: // Whistler.ViewModel.MainViewModel userType = new global::Whistler.Whistler_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("GalaSoft.MvvmLight.ViewModelBase")); userType.SetIsReturnTypeStub(); userType.SetIsLocalType(); xamlType = userType; break; case 6: // Whistler.View.CategoryDetails userType = new global::Whistler.Whistler_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.Page")); userType.Activator = Activate_6_CategoryDetails; userType.AddMemberName("ViewModel"); userType.SetIsLocalType(); xamlType = userType; break; case 7: // Windows.UI.Xaml.Controls.Page xamlType = new global::Whistler.Whistler_XamlTypeInfo.XamlSystemBaseType(typeName, type); break; case 8: // Windows.UI.Xaml.Controls.UserControl xamlType = new global::Whistler.Whistler_XamlTypeInfo.XamlSystemBaseType(typeName, type); break; case 9: // Whistler.View.MainCategories userType = new global::Whistler.Whistler_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.Page")); userType.Activator = Activate_9_MainCategories; userType.AddMemberName("ViewModel"); userType.SetIsLocalType(); xamlType = userType; break; case 10: // Whistler.View.MainPage userType = new global::Whistler.Whistler_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.Page")); userType.Activator = Activate_10_MainPage; userType.AddMemberName("ViewModel"); userType.AddMemberName("CurrentPageKey"); userType.SetIsLocalType(); xamlType = userType; break; case 11: // String xamlType = new global::Whistler.Whistler_XamlTypeInfo.XamlSystemBaseType(typeName, type); break; case 12: // Whistler.View.ProvidingOrProvider userType = new global::Whistler.Whistler_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.Page")); userType.Activator = Activate_12_ProvidingOrProvider; userType.AddMemberName("ViewModel"); userType.SetIsLocalType(); xamlType = userType; break; case 13: // Whistler.View.SignUpPage userType = new global::Whistler.Whistler_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.Page")); userType.Activator = Activate_13_SignUpPage; userType.SetIsLocalType(); xamlType = userType; break; } return xamlType; }
private global::Windows.UI.Xaml.Markup.IXamlType CreateXamlType(int typeIndex) { global::Whistler.Whistler_XamlTypeInfo.XamlSystemBaseType xamlType = null; global::Whistler.Whistler_XamlTypeInfo.XamlUserType userType; string typeName = _typeNameTable[typeIndex]; global::System.Type type = _typeTable[typeIndex]; switch (typeIndex) { case 0: // Whistler.ViewModel.ViewModelLocator userType = new global::Whistler.Whistler_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Object")); userType.Activator = Activate_0_ViewModelLocator; userType.AddMemberName("MainCategoriesViewModel"); userType.AddMemberName("MainPageViewModel"); userType.AddMemberName("SettingsViewModel"); userType.AddMemberName("LookingForViewModel"); userType.AddMemberName("WhistlerListViewModel"); userType.SetIsLocalType(); xamlType = userType; break; case 1: // Object xamlType = new global::Whistler.Whistler_XamlTypeInfo.XamlSystemBaseType(typeName, type); break; case 2: // Whistler.ViewModel.MainCategoriesViewModel userType = new global::Whistler.Whistler_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("GalaSoft.MvvmLight.ViewModelBase")); userType.SetIsReturnTypeStub(); userType.SetIsLocalType(); xamlType = userType; break; case 3: // GalaSoft.MvvmLight.ViewModelBase userType = new global::Whistler.Whistler_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("GalaSoft.MvvmLight.ObservableObject")); userType.AddMemberName("IsInDesignMode"); xamlType = userType; break; case 4: // GalaSoft.MvvmLight.ObservableObject userType = new global::Whistler.Whistler_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Object")); userType.Activator = Activate_4_ObservableObject; xamlType = userType; break; case 5: // Whistler.ViewModel.MainViewModel userType = new global::Whistler.Whistler_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("GalaSoft.MvvmLight.ViewModelBase")); userType.SetIsReturnTypeStub(); userType.SetIsLocalType(); xamlType = userType; break; case 6: // Whistler.ViewModel.SettingsViewModel userType = new global::Whistler.Whistler_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("GalaSoft.MvvmLight.ViewModelBase")); userType.SetIsReturnTypeStub(); userType.SetIsLocalType(); xamlType = userType; break; case 7: // Whistler.ViewModel.LookingForViewModel userType = new global::Whistler.Whistler_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("GalaSoft.MvvmLight.ViewModelBase")); userType.Activator = Activate_7_LookingForViewModel; userType.AddMemberName("Title"); userType.AddMemberName("MatchingWhistles"); userType.SetIsLocalType(); xamlType = userType; break; case 8: // Whistler.ViewModel.WhistlerListViewModel userType = new global::Whistler.Whistler_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("GalaSoft.MvvmLight.ViewModelBase")); userType.SetIsReturnTypeStub(); userType.SetIsLocalType(); xamlType = userType; break; case 9: // Whistler.View.CategoryDetails userType = new global::Whistler.Whistler_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.Page")); userType.Activator = Activate_9_CategoryDetails; userType.AddMemberName("ViewModel"); userType.SetIsLocalType(); xamlType = userType; break; case 10: // Windows.UI.Xaml.Controls.Page xamlType = new global::Whistler.Whistler_XamlTypeInfo.XamlSystemBaseType(typeName, type); break; case 11: // Windows.UI.Xaml.Controls.UserControl xamlType = new global::Whistler.Whistler_XamlTypeInfo.XamlSystemBaseType(typeName, type); break; case 12: // Whistler.View.CreateWhistlePage userType = new global::Whistler.Whistler_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.Page")); userType.Activator = Activate_12_CreateWhistlePage; userType.SetIsLocalType(); xamlType = userType; break; case 13: // String xamlType = new global::Whistler.Whistler_XamlTypeInfo.XamlSystemBaseType(typeName, type); break; case 14: // Whistler.Model.AnonyousWhistleModel userType = new global::Whistler.Whistler_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Object")); userType.SetIsReturnTypeStub(); userType.SetIsLocalType(); xamlType = userType; break; case 15: // Boolean xamlType = new global::Whistler.Whistler_XamlTypeInfo.XamlSystemBaseType(typeName, type); break; case 16: // Whistler.Converter.DoubleToTwoDigitsConverter userType = new global::Whistler.Whistler_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Object")); userType.Activator = Activate_16_DoubleToTwoDigitsConverter; userType.SetIsLocalType(); xamlType = userType; break; case 17: // Whistler.Converter.ProviderToTitle userType = new global::Whistler.Whistler_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Object")); userType.Activator = Activate_17_ProviderToTitle; userType.SetIsLocalType(); xamlType = userType; break; case 18: // Whistler.View.LookingFor userType = new global::Whistler.Whistler_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.Page")); userType.Activator = Activate_18_LookingFor; userType.AddMemberName("ViewModel"); userType.SetIsLocalType(); xamlType = userType; break; case 19: // Whistler.View.MainCategories userType = new global::Whistler.Whistler_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.Page")); userType.Activator = Activate_19_MainCategories; userType.AddMemberName("ViewModel"); userType.SetIsLocalType(); xamlType = userType; break; case 20: // Whistler.View.MainPage userType = new global::Whistler.Whistler_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.Page")); userType.Activator = Activate_20_MainPage; userType.AddMemberName("ViewModel"); userType.AddMemberName("CurrentPageKey"); userType.SetIsLocalType(); xamlType = userType; break; case 21: // Whistler.View.MorePage userType = new global::Whistler.Whistler_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.Page")); userType.Activator = Activate_21_MorePage; userType.SetIsLocalType(); xamlType = userType; break; case 22: // Whistler.ViewModel.MyProfileViewModel userType = new global::Whistler.Whistler_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("GalaSoft.MvvmLight.ViewModelBase")); userType.Activator = Activate_22_MyProfileViewModel; userType.AddMemberName("AppUser"); userType.SetIsLocalType(); xamlType = userType; break; case 23: // Whistler.Model.WhistleUser userType = new global::Whistler.Whistler_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Object")); userType.SetIsReturnTypeStub(); userType.SetIsLocalType(); xamlType = userType; break; case 24: // Whistler.View.MyProfile userType = new global::Whistler.Whistler_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.Page")); userType.Activator = Activate_24_MyProfile; userType.AddMemberName("ImageBuffer"); userType.AddMemberName("fileBytes"); userType.SetIsLocalType(); xamlType = userType; break; case 25: // Windows.Storage.Streams.IBuffer userType = new global::Whistler.Whistler_XamlTypeInfo.XamlUserType(this, typeName, type, null); userType.SetIsReturnTypeStub(); xamlType = userType; break; case 26: // Byte[] userType = new global::Whistler.Whistler_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("System.Array")); userType.SetIsReturnTypeStub(); xamlType = userType; break; case 27: // System.Array userType = new global::Whistler.Whistler_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Object")); xamlType = userType; break; case 28: // Byte userType = new global::Whistler.Whistler_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("System.ValueType")); xamlType = userType; break; case 29: // System.ValueType userType = new global::Whistler.Whistler_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Object")); xamlType = userType; break; case 30: // Whistler.View.PrivacyStatement userType = new global::Whistler.Whistler_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.Page")); userType.Activator = Activate_30_PrivacyStatement; userType.SetIsLocalType(); xamlType = userType; break; case 31: // Whistler.View.ProvidingOrProvider userType = new global::Whistler.Whistler_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.Page")); userType.Activator = Activate_31_ProvidingOrProvider; userType.AddMemberName("ViewModel"); userType.SetIsLocalType(); xamlType = userType; break; case 32: // Whistler.View.SettingsPage userType = new global::Whistler.Whistler_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.Page")); userType.Activator = Activate_32_SettingsPage; userType.SetIsLocalType(); xamlType = userType; break; case 33: // Whistler.View.SignUpPage userType = new global::Whistler.Whistler_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.Page")); userType.Activator = Activate_33_SignUpPage; userType.SetIsLocalType(); xamlType = userType; break; case 34: // Whistler.View.WhistlerList userType = new global::Whistler.Whistler_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.Page")); userType.Activator = Activate_34_WhistlerList; userType.AddMemberName("ViewModel"); userType.SetIsLocalType(); xamlType = userType; break; } return xamlType; }