private global::Windows.UI.Xaml.Markup.IXamlType CreateXamlType(int typeIndex) { global::RestaurantManager.UniversalWindows.RestaurantManager_UniversalWindows_XamlTypeInfo.XamlSystemBaseType xamlType = null; global::RestaurantManager.UniversalWindows.RestaurantManager_UniversalWindows_XamlTypeInfo.XamlUserType userType; string typeName = _typeNameTable[typeIndex]; global::System.Type type = _typeTable[typeIndex]; switch (typeIndex) { case 0: // RestaurantManager.ViewModels.ExpediteViewModel userType = new global::RestaurantManager.UniversalWindows.RestaurantManager_UniversalWindows_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("RestaurantManager.ViewModels.ViewModel")); userType.Activator = Activate_0_ExpediteViewModel; userType.AddMemberName("OrderItems"); xamlType = userType; break; case 1: // RestaurantManager.ViewModels.ViewModel userType = new global::RestaurantManager.UniversalWindows.RestaurantManager_UniversalWindows_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Object")); xamlType = userType; break; case 2: // Object xamlType = new global::RestaurantManager.UniversalWindows.RestaurantManager_UniversalWindows_XamlTypeInfo.XamlSystemBaseType(typeName, type); break; case 3: // System.Collections.Generic.List`1<RestaurantManager.Models.Order> userType = new global::RestaurantManager.UniversalWindows.RestaurantManager_UniversalWindows_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Object")); userType.CollectionAdd = VectorAdd_3_List; userType.SetIsReturnTypeStub(); xamlType = userType; break; case 4: // RestaurantManager.Models.Order userType = new global::RestaurantManager.UniversalWindows.RestaurantManager_UniversalWindows_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Object")); userType.Activator = Activate_4_Order; userType.AddMemberName("Id"); userType.AddMemberName("SpecialRequests"); userType.AddMemberName("Items"); userType.AddMemberName("Table"); userType.AddMemberName("Complete"); userType.AddMemberName("Expedite"); xamlType = userType; break; case 5: // Int32 xamlType = new global::RestaurantManager.UniversalWindows.RestaurantManager_UniversalWindows_XamlTypeInfo.XamlSystemBaseType(typeName, type); break; case 6: // String xamlType = new global::RestaurantManager.UniversalWindows.RestaurantManager_UniversalWindows_XamlTypeInfo.XamlSystemBaseType(typeName, type); break; case 7: // System.Collections.Generic.List`1<RestaurantManager.Models.MenuItem> userType = new global::RestaurantManager.UniversalWindows.RestaurantManager_UniversalWindows_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Object")); userType.CollectionAdd = VectorAdd_7_List; userType.SetIsReturnTypeStub(); xamlType = userType; break; case 8: // RestaurantManager.Models.MenuItem userType = new global::RestaurantManager.UniversalWindows.RestaurantManager_UniversalWindows_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Object")); userType.Activator = Activate_8_MenuItem; userType.AddMemberName("Id"); userType.AddMemberName("Title"); userType.AddMemberName("Price"); xamlType = userType; break; case 9: // System.Decimal userType = new global::RestaurantManager.UniversalWindows.RestaurantManager_UniversalWindows_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("System.ValueType")); userType.SetIsReturnTypeStub(); xamlType = userType; break; case 10: // System.ValueType userType = new global::RestaurantManager.UniversalWindows.RestaurantManager_UniversalWindows_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Object")); xamlType = userType; break; case 11: // RestaurantManager.Models.Table userType = new global::RestaurantManager.UniversalWindows.RestaurantManager_UniversalWindows_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Object")); userType.SetIsReturnTypeStub(); xamlType = userType; break; case 12: // Boolean xamlType = new global::RestaurantManager.UniversalWindows.RestaurantManager_UniversalWindows_XamlTypeInfo.XamlSystemBaseType(typeName, type); break; case 13: // RestaurantManager.UniversalWindows.ExpeditePage userType = new global::RestaurantManager.UniversalWindows.RestaurantManager_UniversalWindows_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.Page")); userType.Activator = Activate_13_ExpeditePage; userType.SetIsLocalType(); xamlType = userType; break; case 14: // Windows.UI.Xaml.Controls.Page xamlType = new global::RestaurantManager.UniversalWindows.RestaurantManager_UniversalWindows_XamlTypeInfo.XamlSystemBaseType(typeName, type); break; case 15: // Windows.UI.Xaml.Controls.UserControl xamlType = new global::RestaurantManager.UniversalWindows.RestaurantManager_UniversalWindows_XamlTypeInfo.XamlSystemBaseType(typeName, type); break; case 16: // Microsoft.Xaml.Interactivity.Interaction userType = new global::RestaurantManager.UniversalWindows.RestaurantManager_UniversalWindows_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Object")); userType.AddMemberName("Behaviors"); xamlType = userType; break; case 17: // Microsoft.Xaml.Interactivity.BehaviorCollection userType = new global::RestaurantManager.UniversalWindows.RestaurantManager_UniversalWindows_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.DependencyObjectCollection")); userType.CollectionAdd = VectorAdd_17_BehaviorCollection; userType.SetIsReturnTypeStub(); xamlType = userType; break; case 18: // Windows.UI.Xaml.DependencyObjectCollection xamlType = new global::RestaurantManager.UniversalWindows.RestaurantManager_UniversalWindows_XamlTypeInfo.XamlSystemBaseType(typeName, type); break; case 19: // Windows.UI.Xaml.DependencyObject xamlType = new global::RestaurantManager.UniversalWindows.RestaurantManager_UniversalWindows_XamlTypeInfo.XamlSystemBaseType(typeName, type); break; case 20: // Extensions.RightClickMessageDialogBehavior userType = new global::RestaurantManager.UniversalWindows.RestaurantManager_UniversalWindows_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.DependencyObject")); userType.Activator = Activate_20_RightClickMessageDialogBehavior; userType.AddMemberName("Message"); userType.AddMemberName("Title"); userType.AddMemberName("AssociatedObject"); xamlType = userType; break; case 21: // RestaurantManager.UniversalWindows.MainPage userType = new global::RestaurantManager.UniversalWindows.RestaurantManager_UniversalWindows_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.Page")); userType.Activator = Activate_21_MainPage; userType.SetIsLocalType(); xamlType = userType; break; case 22: // RestaurantManager.ViewModels.OrderViewModel userType = new global::RestaurantManager.UniversalWindows.RestaurantManager_UniversalWindows_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("RestaurantManager.ViewModels.ViewModel")); userType.Activator = Activate_22_OrderViewModel; userType.AddMemberName("MenuItems"); userType.AddMemberName("CurrentlySelectedMenuItems"); userType.AddMemberName("SelectedMenuItem"); userType.AddMemberName("SpRequests"); userType.AddMemberName("AddItemCommand"); userType.AddMemberName("SubmitOrderCommand"); xamlType = userType; break; case 23: // System.Collections.ObjectModel.ObservableCollection`1<RestaurantManager.Models.MenuItem> userType = new global::RestaurantManager.UniversalWindows.RestaurantManager_UniversalWindows_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("System.Collections.ObjectModel.Collection`1<RestaurantManager.Models.MenuItem>")); userType.CollectionAdd = VectorAdd_23_ObservableCollection; userType.SetIsReturnTypeStub(); xamlType = userType; break; case 24: // System.Collections.ObjectModel.Collection`1<RestaurantManager.Models.MenuItem> userType = new global::RestaurantManager.UniversalWindows.RestaurantManager_UniversalWindows_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Object")); userType.Activator = Activate_24_Collection; userType.CollectionAdd = VectorAdd_24_Collection; xamlType = userType; break; case 25: // System.Windows.Input.ICommand userType = new global::RestaurantManager.UniversalWindows.RestaurantManager_UniversalWindows_XamlTypeInfo.XamlUserType(this, typeName, type, null); userType.SetIsReturnTypeStub(); xamlType = userType; break; case 26: // RestaurantManager.UniversalWindows.OrderPage userType = new global::RestaurantManager.UniversalWindows.RestaurantManager_UniversalWindows_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.Page")); userType.Activator = Activate_26_OrderPage; userType.SetIsLocalType(); xamlType = userType; break; case 27: // Extensions.BoolToColorConverter userType = new global::RestaurantManager.UniversalWindows.RestaurantManager_UniversalWindows_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Object")); userType.Activator = Activate_27_BoolToColorConverter; userType.AddMemberName("TrueColor"); userType.AddMemberName("FalseColor"); xamlType = userType; break; case 28: // Windows.UI.Color userType = new global::RestaurantManager.UniversalWindows.RestaurantManager_UniversalWindows_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("System.ValueType")); userType.SetIsReturnTypeStub(); xamlType = userType; break; } return xamlType; }
private global::Windows.UI.Xaml.Markup.IXamlType CreateXamlType(int typeIndex) { global::RestaurantManager.UniversalWindows.RestaurantManager_UniversalWindows_XamlTypeInfo.XamlSystemBaseType xamlType = null; global::RestaurantManager.UniversalWindows.RestaurantManager_UniversalWindows_XamlTypeInfo.XamlUserType userType; string typeName = _typeNameTable[typeIndex]; global::System.Type type = _typeTable[typeIndex]; switch (typeIndex) { case 0: // RestaurantManager.Models.ExpediteDataManager userType = new global::RestaurantManager.UniversalWindows.RestaurantManager_UniversalWindows_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("RestaurantManager.Models.DataManager")); userType.Activator = Activate_0_ExpediteDataManager; userType.AddMemberName("OrderItems"); xamlType = userType; break; case 1: // RestaurantManager.Models.DataManager userType = new global::RestaurantManager.UniversalWindows.RestaurantManager_UniversalWindows_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Object")); xamlType = userType; break; case 2: // Object xamlType = new global::RestaurantManager.UniversalWindows.RestaurantManager_UniversalWindows_XamlTypeInfo.XamlSystemBaseType(typeName, type); break; case 3: // System.Collections.Generic.List`1<RestaurantManager.Models.Order> userType = new global::RestaurantManager.UniversalWindows.RestaurantManager_UniversalWindows_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Object")); userType.CollectionAdd = VectorAdd_3_List; userType.SetIsReturnTypeStub(); xamlType = userType; break; case 4: // RestaurantManager.Models.Order userType = new global::RestaurantManager.UniversalWindows.RestaurantManager_UniversalWindows_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Object")); userType.Activator = Activate_4_Order; userType.AddMemberName("Id"); userType.AddMemberName("SpecialRequests"); userType.AddMemberName("Items"); userType.AddMemberName("Table"); userType.AddMemberName("Complete"); userType.AddMemberName("Expedite"); xamlType = userType; break; case 5: // Int32 xamlType = new global::RestaurantManager.UniversalWindows.RestaurantManager_UniversalWindows_XamlTypeInfo.XamlSystemBaseType(typeName, type); break; case 6: // String xamlType = new global::RestaurantManager.UniversalWindows.RestaurantManager_UniversalWindows_XamlTypeInfo.XamlSystemBaseType(typeName, type); break; case 7: // System.Collections.Generic.List`1<RestaurantManager.Models.MenuItem> userType = new global::RestaurantManager.UniversalWindows.RestaurantManager_UniversalWindows_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Object")); userType.CollectionAdd = VectorAdd_7_List; userType.SetIsReturnTypeStub(); xamlType = userType; break; case 8: // RestaurantManager.Models.MenuItem userType = new global::RestaurantManager.UniversalWindows.RestaurantManager_UniversalWindows_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Object")); userType.Activator = Activate_8_MenuItem; userType.AddMemberName("Id"); userType.AddMemberName("Title"); userType.AddMemberName("Price"); xamlType = userType; break; case 9: // System.Decimal userType = new global::RestaurantManager.UniversalWindows.RestaurantManager_UniversalWindows_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("System.ValueType")); userType.SetIsReturnTypeStub(); xamlType = userType; break; case 10: // System.ValueType userType = new global::RestaurantManager.UniversalWindows.RestaurantManager_UniversalWindows_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Object")); xamlType = userType; break; case 11: // RestaurantManager.Models.Table userType = new global::RestaurantManager.UniversalWindows.RestaurantManager_UniversalWindows_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Object")); userType.SetIsReturnTypeStub(); xamlType = userType; break; case 12: // Boolean xamlType = new global::RestaurantManager.UniversalWindows.RestaurantManager_UniversalWindows_XamlTypeInfo.XamlSystemBaseType(typeName, type); break; case 13: // RestaurantManager.UniversalWindows.ExpeditePage userType = new global::RestaurantManager.UniversalWindows.RestaurantManager_UniversalWindows_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.Page")); userType.Activator = Activate_13_ExpeditePage; userType.SetIsLocalType(); xamlType = userType; break; case 14: // Windows.UI.Xaml.Controls.Page xamlType = new global::RestaurantManager.UniversalWindows.RestaurantManager_UniversalWindows_XamlTypeInfo.XamlSystemBaseType(typeName, type); break; case 15: // Windows.UI.Xaml.Controls.UserControl xamlType = new global::RestaurantManager.UniversalWindows.RestaurantManager_UniversalWindows_XamlTypeInfo.XamlSystemBaseType(typeName, type); break; case 16: // RestaurantManager.UniversalWindows.MainPage userType = new global::RestaurantManager.UniversalWindows.RestaurantManager_UniversalWindows_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.Page")); userType.Activator = Activate_16_MainPage; userType.SetIsLocalType(); xamlType = userType; break; case 17: // RestaurantManager.Models.OrderDataManager userType = new global::RestaurantManager.UniversalWindows.RestaurantManager_UniversalWindows_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("RestaurantManager.Models.DataManager")); userType.Activator = Activate_17_OrderDataManager; userType.AddMemberName("CurrentlySelectedMenuItems"); userType.AddMemberName("MenuItems"); xamlType = userType; break; case 18: // RestaurantManager.UniversalWindows.OrderPage userType = new global::RestaurantManager.UniversalWindows.RestaurantManager_UniversalWindows_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.Page")); userType.Activator = Activate_18_OrderPage; userType.SetIsLocalType(); xamlType = userType; break; } return xamlType; }
private global::Windows.UI.Xaml.Markup.IXamlType CreateXamlType(int typeIndex) { global::RestaurantManager.UniversalWindows.RestaurantManager_UniversalWindows_XamlTypeInfo.XamlSystemBaseType xamlType = null; global::RestaurantManager.UniversalWindows.RestaurantManager_UniversalWindows_XamlTypeInfo.XamlUserType userType; string typeName = _typeNameTable[typeIndex]; global::System.Type type = _typeTable[typeIndex]; switch (typeIndex) { case 0: // RestaurantManager.ViewModels.ExpediteViewModel userType = new global::RestaurantManager.UniversalWindows.RestaurantManager_UniversalWindows_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("RestaurantManager.ViewModels.ViewModel")); userType.Activator = Activate_0_ExpediteViewModel; userType.AddMemberName("OrderItems"); xamlType = userType; break; case 1: // RestaurantManager.ViewModels.ViewModel userType = new global::RestaurantManager.UniversalWindows.RestaurantManager_UniversalWindows_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Object")); userType.AddMemberName("IsLoading"); xamlType = userType; break; case 2: // Object xamlType = new global::RestaurantManager.UniversalWindows.RestaurantManager_UniversalWindows_XamlTypeInfo.XamlSystemBaseType(typeName, type); break; case 3: // System.Collections.Generic.List`1<RestaurantManager.Models.Order> userType = new global::RestaurantManager.UniversalWindows.RestaurantManager_UniversalWindows_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Object")); userType.CollectionAdd = VectorAdd_3_List; userType.SetIsReturnTypeStub(); xamlType = userType; break; case 4: // RestaurantManager.Models.Order userType = new global::RestaurantManager.UniversalWindows.RestaurantManager_UniversalWindows_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Object")); userType.Activator = Activate_4_Order; userType.AddMemberName("Id"); userType.AddMemberName("SpecialRequests"); userType.AddMemberName("Items"); userType.AddMemberName("Table"); userType.AddMemberName("Complete"); userType.AddMemberName("Expedite"); xamlType = userType; break; case 5: // Int32 xamlType = new global::RestaurantManager.UniversalWindows.RestaurantManager_UniversalWindows_XamlTypeInfo.XamlSystemBaseType(typeName, type); break; case 6: // String xamlType = new global::RestaurantManager.UniversalWindows.RestaurantManager_UniversalWindows_XamlTypeInfo.XamlSystemBaseType(typeName, type); break; case 7: // System.Collections.Generic.List`1<RestaurantManager.Models.MenuItem> userType = new global::RestaurantManager.UniversalWindows.RestaurantManager_UniversalWindows_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Object")); userType.CollectionAdd = VectorAdd_7_List; userType.SetIsReturnTypeStub(); xamlType = userType; break; case 8: // RestaurantManager.Models.MenuItem userType = new global::RestaurantManager.UniversalWindows.RestaurantManager_UniversalWindows_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Object")); userType.Activator = Activate_8_MenuItem; userType.AddMemberName("Id"); userType.AddMemberName("Title"); userType.AddMemberName("Price"); userType.AddMemberName("TitlePriceConcat"); xamlType = userType; break; case 9: // System.Decimal userType = new global::RestaurantManager.UniversalWindows.RestaurantManager_UniversalWindows_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("System.ValueType")); userType.SetIsReturnTypeStub(); xamlType = userType; break; case 10: // System.ValueType userType = new global::RestaurantManager.UniversalWindows.RestaurantManager_UniversalWindows_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Object")); xamlType = userType; break; case 11: // RestaurantManager.Models.Table userType = new global::RestaurantManager.UniversalWindows.RestaurantManager_UniversalWindows_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Object")); userType.SetIsReturnTypeStub(); xamlType = userType; break; case 12: // Boolean xamlType = new global::RestaurantManager.UniversalWindows.RestaurantManager_UniversalWindows_XamlTypeInfo.XamlSystemBaseType(typeName, type); break; case 13: // RestaurantManager.Extensions.BooleanToColorConverter userType = new global::RestaurantManager.UniversalWindows.RestaurantManager_UniversalWindows_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Object")); userType.Activator = Activate_13_BooleanToColorConverter; xamlType = userType; break; case 14: // RestaurantManager.UniversalWindows.ExpeditePage userType = new global::RestaurantManager.UniversalWindows.RestaurantManager_UniversalWindows_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.Page")); userType.Activator = Activate_14_ExpeditePage; userType.SetIsLocalType(); xamlType = userType; break; case 15: // Windows.UI.Xaml.Controls.Page xamlType = new global::RestaurantManager.UniversalWindows.RestaurantManager_UniversalWindows_XamlTypeInfo.XamlSystemBaseType(typeName, type); break; case 16: // Windows.UI.Xaml.Controls.UserControl xamlType = new global::RestaurantManager.UniversalWindows.RestaurantManager_UniversalWindows_XamlTypeInfo.XamlSystemBaseType(typeName, type); break; case 17: // Microsoft.Xaml.Interactivity.Interaction userType = new global::RestaurantManager.UniversalWindows.RestaurantManager_UniversalWindows_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Object")); userType.AddMemberName("Behaviors"); userType.SetIsBindable(); xamlType = userType; break; case 18: // Microsoft.Xaml.Interactivity.BehaviorCollection userType = new global::RestaurantManager.UniversalWindows.RestaurantManager_UniversalWindows_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.DependencyObjectCollection")); userType.CollectionAdd = VectorAdd_18_BehaviorCollection; userType.SetIsReturnTypeStub(); xamlType = userType; break; case 19: // Windows.UI.Xaml.DependencyObjectCollection xamlType = new global::RestaurantManager.UniversalWindows.RestaurantManager_UniversalWindows_XamlTypeInfo.XamlSystemBaseType(typeName, type); break; case 20: // Windows.UI.Xaml.DependencyObject xamlType = new global::RestaurantManager.UniversalWindows.RestaurantManager_UniversalWindows_XamlTypeInfo.XamlSystemBaseType(typeName, type); break; case 21: // RestaurantManager.Extensions.RightClickMessageDialogBehavior userType = new global::RestaurantManager.UniversalWindows.RestaurantManager_UniversalWindows_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.DependencyObject")); userType.Activator = Activate_21_RightClickMessageDialogBehavior; userType.AddMemberName("Message"); userType.AddMemberName("Title"); userType.AddMemberName("AssociatedObject"); xamlType = userType; break; case 22: // RestaurantManager.UniversalWindows.MainPage userType = new global::RestaurantManager.UniversalWindows.RestaurantManager_UniversalWindows_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.Page")); userType.Activator = Activate_22_MainPage; userType.SetIsLocalType(); xamlType = userType; break; case 23: // RestaurantManager.ViewModels.OrderViewModel userType = new global::RestaurantManager.UniversalWindows.RestaurantManager_UniversalWindows_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("RestaurantManager.ViewModels.ViewModel")); userType.Activator = Activate_23_OrderViewModel; userType.AddMemberName("AddMenuItemCommand"); userType.AddMemberName("CreateOrderCommand"); userType.AddMemberName("CurrentlySelectedMenuItems"); userType.AddMemberName("MenuItems"); userType.AddMemberName("SelectedMenuItem"); userType.AddMemberName("SpecialRequests"); xamlType = userType; break; case 24: // System.Windows.Input.ICommand userType = new global::RestaurantManager.UniversalWindows.RestaurantManager_UniversalWindows_XamlTypeInfo.XamlUserType(this, typeName, type, null); userType.SetIsReturnTypeStub(); xamlType = userType; break; case 25: // System.Collections.ObjectModel.ObservableCollection`1<RestaurantManager.Models.MenuItem> userType = new global::RestaurantManager.UniversalWindows.RestaurantManager_UniversalWindows_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("System.Collections.ObjectModel.Collection`1<RestaurantManager.Models.MenuItem>")); userType.CollectionAdd = VectorAdd_25_ObservableCollection; userType.SetIsReturnTypeStub(); xamlType = userType; break; case 26: // System.Collections.ObjectModel.Collection`1<RestaurantManager.Models.MenuItem> userType = new global::RestaurantManager.UniversalWindows.RestaurantManager_UniversalWindows_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Object")); userType.Activator = Activate_26_Collection; userType.CollectionAdd = VectorAdd_26_Collection; xamlType = userType; break; case 27: // RestaurantManager.Extensions.ClickMessageDialogBehavior userType = new global::RestaurantManager.UniversalWindows.RestaurantManager_UniversalWindows_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.DependencyObject")); userType.Activator = Activate_27_ClickMessageDialogBehavior; userType.AddMemberName("Message"); userType.AddMemberName("Title"); userType.AddMemberName("AssociatedObject"); xamlType = userType; break; case 28: // RestaurantManager.UniversalWindows.OrderPage userType = new global::RestaurantManager.UniversalWindows.RestaurantManager_UniversalWindows_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.Page")); userType.Activator = Activate_28_OrderPage; userType.SetIsLocalType(); xamlType = userType; break; case 29: // Microsoft.Xaml.Interactions.Media.ControlStoryboardAction userType = new global::RestaurantManager.UniversalWindows.RestaurantManager_UniversalWindows_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.DependencyObject")); userType.Activator = Activate_29_ControlStoryboardAction; userType.AddMemberName("ControlStoryboardOption"); userType.AddMemberName("Storyboard"); userType.SetIsBindable(); xamlType = userType; break; case 30: // Microsoft.Xaml.Interactions.Media.ControlStoryboardOption userType = new global::RestaurantManager.UniversalWindows.RestaurantManager_UniversalWindows_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("System.Enum")); userType.AddEnumValue("Play", global::Microsoft.Xaml.Interactions.Media.ControlStoryboardOption.Play); userType.AddEnumValue("Stop", global::Microsoft.Xaml.Interactions.Media.ControlStoryboardOption.Stop); userType.AddEnumValue("TogglePlayPause", global::Microsoft.Xaml.Interactions.Media.ControlStoryboardOption.TogglePlayPause); userType.AddEnumValue("Pause", global::Microsoft.Xaml.Interactions.Media.ControlStoryboardOption.Pause); userType.AddEnumValue("Resume", global::Microsoft.Xaml.Interactions.Media.ControlStoryboardOption.Resume); userType.AddEnumValue("SkipToFill", global::Microsoft.Xaml.Interactions.Media.ControlStoryboardOption.SkipToFill); xamlType = userType; break; case 31: // System.Enum userType = new global::RestaurantManager.UniversalWindows.RestaurantManager_UniversalWindows_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("System.ValueType")); xamlType = userType; break; case 32: // Windows.UI.Xaml.Media.Animation.Storyboard xamlType = new global::RestaurantManager.UniversalWindows.RestaurantManager_UniversalWindows_XamlTypeInfo.XamlSystemBaseType(typeName, type); break; case 33: // Microsoft.Xaml.Interactions.Core.EventTriggerBehavior userType = new global::RestaurantManager.UniversalWindows.RestaurantManager_UniversalWindows_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.DependencyObject")); userType.Activator = Activate_33_EventTriggerBehavior; userType.SetContentPropertyName("Microsoft.Xaml.Interactions.Core.EventTriggerBehavior.Actions"); userType.AddMemberName("Actions"); userType.AddMemberName("EventName"); userType.AddMemberName("SourceObject"); userType.AddMemberName("AssociatedObject"); userType.SetIsBindable(); xamlType = userType; break; case 34: // Microsoft.Xaml.Interactivity.ActionCollection userType = new global::RestaurantManager.UniversalWindows.RestaurantManager_UniversalWindows_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.DependencyObjectCollection")); userType.CollectionAdd = VectorAdd_34_ActionCollection; userType.SetIsReturnTypeStub(); xamlType = userType; break; case 35: // Microsoft.Xaml.Interactions.Core.GoToStateAction userType = new global::RestaurantManager.UniversalWindows.RestaurantManager_UniversalWindows_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.DependencyObject")); userType.Activator = Activate_35_GoToStateAction; userType.AddMemberName("UseTransitions"); userType.AddMemberName("StateName"); userType.AddMemberName("TargetObject"); userType.SetIsBindable(); xamlType = userType; break; case 36: // Windows.UI.Xaml.FrameworkElement xamlType = new global::RestaurantManager.UniversalWindows.RestaurantManager_UniversalWindows_XamlTypeInfo.XamlSystemBaseType(typeName, type); break; case 37: // Microsoft.Xaml.Interactions.Core.IncrementalUpdateBehavior userType = new global::RestaurantManager.UniversalWindows.RestaurantManager_UniversalWindows_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.DependencyObject")); userType.Activator = Activate_37_IncrementalUpdateBehavior; userType.AddMemberName("Phase"); userType.AddMemberName("AssociatedObject"); userType.SetIsBindable(); xamlType = userType; break; case 38: // Microsoft.Xaml.Interactions.Core.InvokeCommandAction userType = new global::RestaurantManager.UniversalWindows.RestaurantManager_UniversalWindows_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.DependencyObject")); userType.Activator = Activate_38_InvokeCommandAction; userType.AddMemberName("InputConverterLanguage"); userType.AddMemberName("InputConverterParameter"); userType.AddMemberName("InputConverter"); userType.AddMemberName("CommandParameter"); userType.AddMemberName("Command"); userType.SetIsBindable(); xamlType = userType; break; case 39: // Windows.UI.Xaml.Data.IValueConverter xamlType = new global::RestaurantManager.UniversalWindows.RestaurantManager_UniversalWindows_XamlTypeInfo.XamlSystemBaseType(typeName, type); break; case 40: // Microsoft.Xaml.Interactions.Core.NavigateToPageAction userType = new global::RestaurantManager.UniversalWindows.RestaurantManager_UniversalWindows_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.DependencyObject")); userType.Activator = Activate_40_NavigateToPageAction; userType.AddMemberName("TargetPage"); userType.AddMemberName("Parameter"); userType.SetIsBindable(); xamlType = userType; break; case 41: // Microsoft.Xaml.Interactions.Media.PlaySoundAction userType = new global::RestaurantManager.UniversalWindows.RestaurantManager_UniversalWindows_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.DependencyObject")); userType.Activator = Activate_41_PlaySoundAction; userType.AddMemberName("Volume"); userType.AddMemberName("Source"); userType.SetIsBindable(); xamlType = userType; break; case 42: // Double xamlType = new global::RestaurantManager.UniversalWindows.RestaurantManager_UniversalWindows_XamlTypeInfo.XamlSystemBaseType(typeName, type); break; } return xamlType; }
private global::Windows.UI.Xaml.Markup.IXamlType CreateXamlType(int typeIndex) { global::RestaurantManager.UniversalWindows.RestaurantManager_UniversalWindows_XamlTypeInfo.XamlSystemBaseType xamlType = null; global::RestaurantManager.UniversalWindows.RestaurantManager_UniversalWindows_XamlTypeInfo.XamlUserType userType; string typeName = _typeNameTable[typeIndex]; global::System.Type type = _typeTable[typeIndex]; switch (typeIndex) { case 0: // RestaurantManager.UniversalWindows.DataManager userType = new global::RestaurantManager.UniversalWindows.RestaurantManager_UniversalWindows_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Object")); userType.Activator = Activate_0_DataManager; userType.AddMemberName("OrderItems"); userType.AddMemberName("MenuItems"); userType.AddMemberName("CurrentlySelectedMenuItems"); userType.SetIsLocalType(); xamlType = userType; break; case 1: // Object xamlType = new global::RestaurantManager.UniversalWindows.RestaurantManager_UniversalWindows_XamlTypeInfo.XamlSystemBaseType(typeName, type); break; case 2: // System.Collections.ObjectModel.ObservableCollection`1<String> userType = new global::RestaurantManager.UniversalWindows.RestaurantManager_UniversalWindows_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("System.Collections.ObjectModel.Collection`1<String>")); userType.CollectionAdd = VectorAdd_2_ObservableCollection; userType.SetIsReturnTypeStub(); xamlType = userType; break; case 3: // System.Collections.ObjectModel.Collection`1<String> userType = new global::RestaurantManager.UniversalWindows.RestaurantManager_UniversalWindows_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Object")); userType.Activator = Activate_3_Collection; userType.CollectionAdd = VectorAdd_3_Collection; xamlType = userType; break; case 4: // String xamlType = new global::RestaurantManager.UniversalWindows.RestaurantManager_UniversalWindows_XamlTypeInfo.XamlSystemBaseType(typeName, type); break; case 5: // System.Collections.Generic.List`1<String> userType = new global::RestaurantManager.UniversalWindows.RestaurantManager_UniversalWindows_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Object")); userType.CollectionAdd = VectorAdd_5_List; userType.SetIsReturnTypeStub(); xamlType = userType; break; case 6: // RestaurantManager.UniversalWindows.ExpeditePage userType = new global::RestaurantManager.UniversalWindows.RestaurantManager_UniversalWindows_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.Page")); userType.Activator = Activate_6_ExpeditePage; userType.SetIsLocalType(); xamlType = userType; break; case 7: // Windows.UI.Xaml.Controls.Page xamlType = new global::RestaurantManager.UniversalWindows.RestaurantManager_UniversalWindows_XamlTypeInfo.XamlSystemBaseType(typeName, type); break; case 8: // Windows.UI.Xaml.Controls.UserControl xamlType = new global::RestaurantManager.UniversalWindows.RestaurantManager_UniversalWindows_XamlTypeInfo.XamlSystemBaseType(typeName, type); break; case 9: // RestaurantManager.UniversalWindows.MainPage userType = new global::RestaurantManager.UniversalWindows.RestaurantManager_UniversalWindows_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.Page")); userType.Activator = Activate_9_MainPage; userType.SetIsLocalType(); xamlType = userType; break; case 10: // RestaurantManager.UniversalWindows.OrderPage userType = new global::RestaurantManager.UniversalWindows.RestaurantManager_UniversalWindows_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.Page")); userType.Activator = Activate_10_OrderPage; userType.SetIsLocalType(); xamlType = userType; break; } return xamlType; }
private global::Windows.UI.Xaml.Markup.IXamlType CreateXamlType(int typeIndex) { global::RestaurantManager.UniversalWindows.RestaurantManager_UniversalWindows_XamlTypeInfo.XamlSystemBaseType xamlType = null; global::RestaurantManager.UniversalWindows.RestaurantManager_UniversalWindows_XamlTypeInfo.XamlUserType userType; string typeName = _typeNameTable[typeIndex]; global::System.Type type = _typeTable[typeIndex]; switch (typeIndex) { case 0: // RestaurantManager.Models.ExpediteDataManager userType = new global::RestaurantManager.UniversalWindows.RestaurantManager_UniversalWindows_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("RestaurantManager.Models.DataManager")); userType.Activator = Activate_0_ExpediteDataManager; userType.AddMemberName("OrderItems"); xamlType = userType; break; case 1: // RestaurantManager.Models.DataManager userType = new global::RestaurantManager.UniversalWindows.RestaurantManager_UniversalWindows_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Object")); xamlType = userType; break; case 2: // Object xamlType = new global::RestaurantManager.UniversalWindows.RestaurantManager_UniversalWindows_XamlTypeInfo.XamlSystemBaseType(typeName, type); break; case 3: // System.Collections.Generic.List`1<RestaurantManager.Models.Order> userType = new global::RestaurantManager.UniversalWindows.RestaurantManager_UniversalWindows_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Object")); userType.CollectionAdd = VectorAdd_3_List; userType.SetIsReturnTypeStub(); xamlType = userType; break; case 4: // RestaurantManager.Models.Order userType = new global::RestaurantManager.UniversalWindows.RestaurantManager_UniversalWindows_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Object")); userType.Activator = Activate_4_Order; userType.AddMemberName("Id"); userType.AddMemberName("SpecialRequests"); userType.AddMemberName("Items"); userType.AddMemberName("Table"); userType.AddMemberName("Complete"); userType.AddMemberName("Expedite"); xamlType = userType; break; case 5: // Int32 xamlType = new global::RestaurantManager.UniversalWindows.RestaurantManager_UniversalWindows_XamlTypeInfo.XamlSystemBaseType(typeName, type); break; case 6: // String xamlType = new global::RestaurantManager.UniversalWindows.RestaurantManager_UniversalWindows_XamlTypeInfo.XamlSystemBaseType(typeName, type); break; case 7: // System.Collections.Generic.List`1<RestaurantManager.Models.MenuItem> userType = new global::RestaurantManager.UniversalWindows.RestaurantManager_UniversalWindows_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Object")); userType.CollectionAdd = VectorAdd_7_List; userType.SetIsReturnTypeStub(); xamlType = userType; break; case 8: // RestaurantManager.Models.MenuItem userType = new global::RestaurantManager.UniversalWindows.RestaurantManager_UniversalWindows_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Object")); userType.Activator = Activate_8_MenuItem; userType.AddMemberName("Id"); userType.AddMemberName("Title"); userType.AddMemberName("Price"); xamlType = userType; break; case 9: // System.Decimal userType = new global::RestaurantManager.UniversalWindows.RestaurantManager_UniversalWindows_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("System.ValueType")); userType.SetIsReturnTypeStub(); xamlType = userType; break; case 10: // System.ValueType userType = new global::RestaurantManager.UniversalWindows.RestaurantManager_UniversalWindows_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Object")); xamlType = userType; break; case 11: // RestaurantManager.Models.Table userType = new global::RestaurantManager.UniversalWindows.RestaurantManager_UniversalWindows_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Object")); userType.SetIsReturnTypeStub(); xamlType = userType; break; case 12: // Boolean xamlType = new global::RestaurantManager.UniversalWindows.RestaurantManager_UniversalWindows_XamlTypeInfo.XamlSystemBaseType(typeName, type); break; case 13: // RestaurantManager.UniversalWindows.ExpeditePage userType = new global::RestaurantManager.UniversalWindows.RestaurantManager_UniversalWindows_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.Page")); userType.Activator = Activate_13_ExpeditePage; userType.SetIsLocalType(); xamlType = userType; break; case 14: // Windows.UI.Xaml.Controls.Page xamlType = new global::RestaurantManager.UniversalWindows.RestaurantManager_UniversalWindows_XamlTypeInfo.XamlSystemBaseType(typeName, type); break; case 15: // Windows.UI.Xaml.Controls.UserControl xamlType = new global::RestaurantManager.UniversalWindows.RestaurantManager_UniversalWindows_XamlTypeInfo.XamlSystemBaseType(typeName, type); break; case 16: // RestaurantManager.UniversalWindows.MainPage userType = new global::RestaurantManager.UniversalWindows.RestaurantManager_UniversalWindows_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.Page")); userType.Activator = Activate_16_MainPage; userType.SetIsLocalType(); xamlType = userType; break; case 17: // RestaurantManager.Models.OrderDataManager userType = new global::RestaurantManager.UniversalWindows.RestaurantManager_UniversalWindows_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("RestaurantManager.Models.DataManager")); userType.Activator = Activate_17_OrderDataManager; userType.AddMemberName("MenuItems"); userType.AddMemberName("CurrentlySelectedMenuItems"); xamlType = userType; break; case 18: // RestaurantManager.UniversalWindows.OrderPage userType = new global::RestaurantManager.UniversalWindows.RestaurantManager_UniversalWindows_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.Page")); userType.Activator = Activate_18_OrderPage; userType.SetIsLocalType(); xamlType = userType; break; } return(xamlType); }
private global::Windows.UI.Xaml.Markup.IXamlType CreateXamlType(int typeIndex) { global::RestaurantManager.UniversalWindows.RestaurantManager_UniversalWindows_XamlTypeInfo.XamlSystemBaseType xamlType = null; global::RestaurantManager.UniversalWindows.RestaurantManager_UniversalWindows_XamlTypeInfo.XamlUserType userType; string typeName = _typeNameTable[typeIndex]; global::System.Type type = _typeTable[typeIndex]; switch (typeIndex) { case 0: // RestaurantManager.UniversalWindows.DataManager userType = new global::RestaurantManager.UniversalWindows.RestaurantManager_UniversalWindows_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Object")); userType.Activator = Activate_0_DataManager; userType.AddMemberName("OrderItems"); userType.AddMemberName("MenuItems"); userType.AddMemberName("CurrentlySelectedMenuItems"); userType.SetIsLocalType(); xamlType = userType; break; case 1: // Object xamlType = new global::RestaurantManager.UniversalWindows.RestaurantManager_UniversalWindows_XamlTypeInfo.XamlSystemBaseType(typeName, type); break; case 2: // System.Collections.ObjectModel.ObservableCollection`1<String> userType = new global::RestaurantManager.UniversalWindows.RestaurantManager_UniversalWindows_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("System.Collections.ObjectModel.Collection`1<String>")); userType.CollectionAdd = VectorAdd_2_ObservableCollection; userType.SetIsReturnTypeStub(); xamlType = userType; break; case 3: // System.Collections.ObjectModel.Collection`1<String> userType = new global::RestaurantManager.UniversalWindows.RestaurantManager_UniversalWindows_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Object")); userType.Activator = Activate_3_Collection; userType.CollectionAdd = VectorAdd_3_Collection; xamlType = userType; break; case 4: // String xamlType = new global::RestaurantManager.UniversalWindows.RestaurantManager_UniversalWindows_XamlTypeInfo.XamlSystemBaseType(typeName, type); break; case 5: // System.Collections.Generic.List`1<String> userType = new global::RestaurantManager.UniversalWindows.RestaurantManager_UniversalWindows_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Object")); userType.CollectionAdd = VectorAdd_5_List; userType.SetIsReturnTypeStub(); xamlType = userType; break; case 6: // RestaurantManager.UniversalWindows.ExpeditePage userType = new global::RestaurantManager.UniversalWindows.RestaurantManager_UniversalWindows_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.Page")); userType.Activator = Activate_6_ExpeditePage; userType.SetIsLocalType(); xamlType = userType; break; case 7: // Windows.UI.Xaml.Controls.Page xamlType = new global::RestaurantManager.UniversalWindows.RestaurantManager_UniversalWindows_XamlTypeInfo.XamlSystemBaseType(typeName, type); break; case 8: // Windows.UI.Xaml.Controls.UserControl xamlType = new global::RestaurantManager.UniversalWindows.RestaurantManager_UniversalWindows_XamlTypeInfo.XamlSystemBaseType(typeName, type); break; case 9: // RestaurantManager.UniversalWindows.MainPage userType = new global::RestaurantManager.UniversalWindows.RestaurantManager_UniversalWindows_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.Page")); userType.Activator = Activate_9_MainPage; userType.SetIsLocalType(); xamlType = userType; break; case 10: // RestaurantManager.UniversalWindows.OrderPage userType = new global::RestaurantManager.UniversalWindows.RestaurantManager_UniversalWindows_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.Page")); userType.Activator = Activate_10_OrderPage; userType.SetIsLocalType(); xamlType = userType; break; } return(xamlType); }