Beispiel #1
0
        private global::Windows.UI.Xaml.Markup.IXamlType CreateXamlType(int typeIndex)
        {
            global::RestaurantManager.RestaurantManager_XamlTypeInfo.XamlSystemBaseType xamlType = null;
            global::RestaurantManager.RestaurantManager_XamlTypeInfo.XamlUserType       userType;
            string typeName = _typeNameTable[typeIndex];

            global::System.Type type = _typeTable[typeIndex];

            switch (typeIndex)
            {
            case 0:   //  RestaurantManager.ExpeditePage
                userType           = new global::RestaurantManager.RestaurantManager_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.Page"));
                userType.Activator = Activate_0_ExpeditePage;
                userType.SetIsLocalType();
                xamlType = userType;
                break;

            case 1:   //  Windows.UI.Xaml.Controls.Page
                xamlType = new global::RestaurantManager.RestaurantManager_XamlTypeInfo.XamlSystemBaseType(typeName, type);
                break;

            case 2:   //  Windows.UI.Xaml.Controls.UserControl
                xamlType = new global::RestaurantManager.RestaurantManager_XamlTypeInfo.XamlSystemBaseType(typeName, type);
                break;

            case 3:   //  RestaurantManager.MainPage
                userType           = new global::RestaurantManager.RestaurantManager_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.Page"));
                userType.Activator = Activate_3_MainPage;
                userType.SetIsLocalType();
                xamlType = userType;
                break;

            case 4:   //  RestaurantManager.OrderPage
                userType           = new global::RestaurantManager.RestaurantManager_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.Page"));
                userType.Activator = Activate_4_OrderPage;
                userType.SetIsLocalType();
                xamlType = userType;
                break;
            }
            return(xamlType);
        }
Beispiel #2
0
        private global::Windows.UI.Xaml.Markup.IXamlType CreateXamlType(int typeIndex)
        {
            global::RestaurantManager.RestaurantManager_XamlTypeInfo.XamlSystemBaseType xamlType = null;
            global::RestaurantManager.RestaurantManager_XamlTypeInfo.XamlUserType userType;
            string typeName = _typeNameTable[typeIndex];
            global::System.Type type = _typeTable[typeIndex];

            switch (typeIndex)
            {

            case 0:   //  RestaurantManager.ExpediatePage
                userType = new global::RestaurantManager.RestaurantManager_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.Page"));
                userType.Activator = Activate_0_ExpediatePage;
                userType.SetIsLocalType();
                xamlType = userType;
                break;

            case 1:   //  Windows.UI.Xaml.Controls.Page
                xamlType = new global::RestaurantManager.RestaurantManager_XamlTypeInfo.XamlSystemBaseType(typeName, type);
                break;

            case 2:   //  Windows.UI.Xaml.Controls.UserControl
                xamlType = new global::RestaurantManager.RestaurantManager_XamlTypeInfo.XamlSystemBaseType(typeName, type);
                break;

            case 3:   //  RestaurantManager.MainPage
                userType = new global::RestaurantManager.RestaurantManager_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.Page"));
                userType.Activator = Activate_3_MainPage;
                userType.SetIsLocalType();
                xamlType = userType;
                break;

            case 4:   //  RestaurantManager.OrderPage
                userType = new global::RestaurantManager.RestaurantManager_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.Page"));
                userType.Activator = Activate_4_OrderPage;
                userType.SetIsLocalType();
                xamlType = userType;
                break;
            }
            return xamlType;
        }
Beispiel #3
0
        private global::Windows.UI.Xaml.Markup.IXamlType CreateXamlType(int typeIndex)
        {
            global::RestaurantManager.RestaurantManager_XamlTypeInfo.XamlSystemBaseType xamlType = null;
            global::RestaurantManager.RestaurantManager_XamlTypeInfo.XamlUserType       userType;
            string typeName = _typeNameTable[typeIndex];

            global::System.Type type = _typeTable[typeIndex];

            switch (typeIndex)
            {
            case 0:   //  RestaurantManager.Models.DataManager
                userType           = new global::RestaurantManager.RestaurantManager_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Object"));
                userType.Activator = Activate_0_DataManager;
                userType.AddMemberName("OrderItems");
                userType.AddMemberName("MenuItems");
                userType.AddMemberName("CurrentlySelectedMenuItems");
                xamlType = userType;
                break;

            case 1:   //  Object
                xamlType = new global::RestaurantManager.RestaurantManager_XamlTypeInfo.XamlSystemBaseType(typeName, type);
                break;

            case 2:   //  System.Collections.ObjectModel.ObservableCollection`1<String>
                userType = new global::RestaurantManager.RestaurantManager_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.RestaurantManager_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.RestaurantManager_XamlTypeInfo.XamlSystemBaseType(typeName, type);
                break;

            case 5:   //  System.Collections.Generic.List`1<String>
                userType = new global::RestaurantManager.RestaurantManager_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Object"));
                userType.CollectionAdd = VectorAdd_5_List;
                userType.SetIsReturnTypeStub();
                xamlType = userType;
                break;

            case 6:   //  RestaurantManager.ExpeditePage
                userType           = new global::RestaurantManager.RestaurantManager_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.RestaurantManager_XamlTypeInfo.XamlSystemBaseType(typeName, type);
                break;

            case 8:   //  Windows.UI.Xaml.Controls.UserControl
                xamlType = new global::RestaurantManager.RestaurantManager_XamlTypeInfo.XamlSystemBaseType(typeName, type);
                break;

            case 9:   //  RestaurantManager.MainPage
                userType           = new global::RestaurantManager.RestaurantManager_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.Page"));
                userType.Activator = Activate_9_MainPage;
                userType.SetIsLocalType();
                xamlType = userType;
                break;

            case 10:   //  RestaurantManager.OrderPage
                userType           = new global::RestaurantManager.RestaurantManager_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.RestaurantManager_XamlTypeInfo.XamlSystemBaseType xamlType = null;
            global::RestaurantManager.RestaurantManager_XamlTypeInfo.XamlUserType userType;
            string typeName = _typeNameTable[typeIndex];
            global::System.Type type = _typeTable[typeIndex];

            switch (typeIndex)
            {

            case 0:   //  RestaurantManager.Models.DataManager
                userType = new global::RestaurantManager.RestaurantManager_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Object"));
                userType.Activator = Activate_0_DataManager;
                userType.AddMemberName("OrderItems");
                userType.AddMemberName("MenuItems");
                userType.AddMemberName("CurrentlySelectedMenuItems");
                xamlType = userType;
                break;

            case 1:   //  Object
                xamlType = new global::RestaurantManager.RestaurantManager_XamlTypeInfo.XamlSystemBaseType(typeName, type);
                break;

            case 2:   //  System.Collections.ObjectModel.ObservableCollection`1<String>
                userType = new global::RestaurantManager.RestaurantManager_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.RestaurantManager_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.RestaurantManager_XamlTypeInfo.XamlSystemBaseType(typeName, type);
                break;

            case 5:   //  System.Collections.Generic.List`1<String>
                userType = new global::RestaurantManager.RestaurantManager_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Object"));
                userType.CollectionAdd = VectorAdd_5_List;
                userType.SetIsReturnTypeStub();
                xamlType = userType;
                break;

            case 6:   //  RestaurantManager.ExpeditePage
                userType = new global::RestaurantManager.RestaurantManager_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.RestaurantManager_XamlTypeInfo.XamlSystemBaseType(typeName, type);
                break;

            case 8:   //  Windows.UI.Xaml.Controls.UserControl
                xamlType = new global::RestaurantManager.RestaurantManager_XamlTypeInfo.XamlSystemBaseType(typeName, type);
                break;

            case 9:   //  RestaurantManager.MainPage
                userType = new global::RestaurantManager.RestaurantManager_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.Page"));
                userType.Activator = Activate_9_MainPage;
                userType.SetIsLocalType();
                xamlType = userType;
                break;

            case 10:   //  RestaurantManager.OrderPage
                userType = new global::RestaurantManager.RestaurantManager_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.Page"));
                userType.Activator = Activate_10_OrderPage;
                userType.SetIsLocalType();
                xamlType = userType;
                break;
            }
            return xamlType;
        }