Exemplo n.º 1
0
        private global::Windows.UI.Xaml.Markup.IXamlType CreateXamlType(int typeIndex)
        {
            global::ChecoutBasic.ChecoutBasic_XamlTypeInfo.XamlSystemBaseType xamlType = null;
            global::ChecoutBasic.ChecoutBasic_XamlTypeInfo.XamlUserType       userType;
            string typeName = _typeNameTable[typeIndex];

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

            switch (typeIndex)
            {
            case 0:   //  ChecoutBasic.MainPage
                userType           = new global::ChecoutBasic.ChecoutBasic_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.Page"));
                userType.Activator = Activate_0_MainPage;
                userType.SetIsLocalType();
                xamlType = userType;
                break;

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

            case 2:   //  Windows.UI.Xaml.Controls.UserControl
                xamlType = new global::ChecoutBasic.ChecoutBasic_XamlTypeInfo.XamlSystemBaseType(typeName, type);
                break;
            }
            return(xamlType);
        }
Exemplo n.º 2
0
        private global::Windows.UI.Xaml.Markup.IXamlType CreateXamlType(int typeIndex)
        {
            global::ChecoutBasic.ChecoutBasic_XamlTypeInfo.XamlSystemBaseType xamlType = null;
            global::ChecoutBasic.ChecoutBasic_XamlTypeInfo.XamlUserType       userType;
            string typeName = _typeNameTable[typeIndex];

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

            switch (typeIndex)
            {
            case 0:   //  ChecoutBasic.Custom_user_controls.About
                userType           = new global::ChecoutBasic.ChecoutBasic_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.ContentDialog"));
                userType.Activator = Activate_0_About;
                userType.SetIsLocalType();
                xamlType = userType;
                break;

            case 1:   //  Windows.UI.Xaml.Controls.ContentDialog
                xamlType = new global::ChecoutBasic.ChecoutBasic_XamlTypeInfo.XamlSystemBaseType(typeName, type);
                break;

            case 2:   //  Windows.UI.Xaml.Controls.ContentControl
                xamlType = new global::ChecoutBasic.ChecoutBasic_XamlTypeInfo.XamlSystemBaseType(typeName, type);
                break;

            case 3:   //  ChecoutBasic.Custom_user_controls.AuthToken
                userType           = new global::ChecoutBasic.ChecoutBasic_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.ContentDialog"));
                userType.Activator = Activate_3_AuthToken;
                userType.SetIsLocalType();
                xamlType = userType;
                break;

            case 4:   //  ChecoutBasic.Custom_user_controls.CashBack
                userType           = new global::ChecoutBasic.ChecoutBasic_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.ContentDialog"));
                userType.Activator = Activate_4_CashBack;
                userType.SetIsLocalType();
                xamlType = userType;
                break;

            case 5:   //  Checkout.Custom_user_controls.ClerkId
                userType           = new global::ChecoutBasic.ChecoutBasic_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.ContentDialog"));
                userType.Activator = Activate_5_ClerkId;
                userType.SetIsLocalType();
                xamlType = userType;
                break;

            case 6:   //  Checkout.Custom_user_controls.ConfigureProcessor
                userType           = new global::ChecoutBasic.ChecoutBasic_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.ContentDialog"));
                userType.Activator = Activate_6_ConfigureProcessor;
                userType.SetIsLocalType();
                xamlType = userType;
                break;

            case 7:   //  Checkout.Custom_user_controls.QuickChip
                userType           = new global::ChecoutBasic.ChecoutBasic_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.ContentDialog"));
                userType.Activator = Activate_7_QuickChip;
                userType.SetIsLocalType();
                xamlType = userType;
                break;

            case 8:   //  Checkout.Custom_user_controls.Tax
                userType           = new global::ChecoutBasic.ChecoutBasic_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.ContentDialog"));
                userType.Activator = Activate_8_Tax;
                userType.SetIsLocalType();
                xamlType = userType;
                break;

            case 9:   //  Checkout.Custom_user_controls.Tip
                userType           = new global::ChecoutBasic.ChecoutBasic_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.ContentDialog"));
                userType.Activator = Activate_9_Tip;
                userType.SetIsLocalType();
                xamlType = userType;
                break;

            case 10:   //  Checkout.Custom_user_controls.TransactionMethod
                userType           = new global::ChecoutBasic.ChecoutBasic_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.ContentDialog"));
                userType.Activator = Activate_10_TransactionMethod;
                userType.SetIsLocalType();
                xamlType = userType;
                break;

            case 11:   //  Checkout.Custom_user_controls.VoiceMsg
                userType           = new global::ChecoutBasic.ChecoutBasic_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.ContentDialog"));
                userType.Activator = Activate_11_VoiceMsg;
                userType.SetIsLocalType();
                xamlType = userType;
                break;

            case 12:   //  ChecoutBasic.MainPage
                userType           = new global::ChecoutBasic.ChecoutBasic_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.Page"));
                userType.Activator = Activate_12_MainPage;
                userType.SetIsLocalType();
                xamlType = userType;
                break;

            case 13:   //  Windows.UI.Xaml.Controls.Page
                xamlType = new global::ChecoutBasic.ChecoutBasic_XamlTypeInfo.XamlSystemBaseType(typeName, type);
                break;

            case 14:   //  Windows.UI.Xaml.Controls.UserControl
                xamlType = new global::ChecoutBasic.ChecoutBasic_XamlTypeInfo.XamlSystemBaseType(typeName, type);
                break;
            }
            return(xamlType);
        }