private global::Windows.UI.Xaml.Markup.IXamlType CreateXamlType(int typeIndex)
        {
            global::AppTest.AppTest_XamlTypeInfo.XamlSystemBaseType xamlType = null;
            global::AppTest.AppTest_XamlTypeInfo.XamlUserType       userType;
            string typeName = _typeNameTable[typeIndex];

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

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

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

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

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

            switch (typeIndex)
            {
            case 0:   //  AppTest.donChoice
                userType           = new global::AppTest.AppTest_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.Page"));
                userType.Activator = Activate_0_donChoice;
                userType.SetIsLocalType();
                xamlType = userType;
                break;

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

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

            case 3:   //  AppTest.donChoiceAsso
                userType           = new global::AppTest.AppTest_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.Page"));
                userType.Activator = Activate_3_donChoiceAsso;
                userType.SetIsLocalType();
                xamlType = userType;
                break;

            case 4:   //  AppTest.donFormulaire
                userType           = new global::AppTest.AppTest_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.Page"));
                userType.Activator = Activate_4_donFormulaire;
                userType.SetIsLocalType();
                xamlType = userType;
                break;

            case 5:   //  AppTest.donJustificatif
                userType           = new global::AppTest.AppTest_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.Page"));
                userType.Activator = Activate_5_donJustificatif;
                userType.SetIsLocalType();
                xamlType = userType;
                break;

            case 6:   //  AppTest.donMontant
                userType           = new global::AppTest.AppTest_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.Page"));
                userType.Activator = Activate_6_donMontant;
                userType.SetIsLocalType();
                xamlType = userType;
                break;

            case 7:   //  AppTest.donPaiement
                userType           = new global::AppTest.AppTest_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.Page"));
                userType.Activator = Activate_7_donPaiement;
                userType.SetIsLocalType();
                xamlType = userType;
                break;

            case 8:   //  AppTest.donPhoto
                userType           = new global::AppTest.AppTest_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.Page"));
                userType.Activator = Activate_8_donPhoto;
                userType.SetIsLocalType();
                xamlType = userType;
                break;

            case 9:   //  AppTest.donThanks
                userType           = new global::AppTest.AppTest_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.Page"));
                userType.Activator = Activate_9_donThanks;
                userType.SetIsLocalType();
                xamlType = userType;
                break;

            case 10:   //  AppTest.donVideo
                userType           = new global::AppTest.AppTest_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.Page"));
                userType.Activator = Activate_10_donVideo;
                userType.SetIsLocalType();
                xamlType = userType;
                break;

            case 11:   //  AppTest.gameMain
                userType           = new global::AppTest.AppTest_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.Page"));
                userType.Activator = Activate_11_gameMain;
                userType.SetIsLocalType();
                xamlType = userType;
                break;

            case 12:   //  AppTest.gameSelect
                userType           = new global::AppTest.AppTest_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.Page"));
                userType.Activator = Activate_12_gameSelect;
                userType.SetIsLocalType();
                xamlType = userType;
                break;

            case 13:   //  AppTest.gameThanks
                userType           = new global::AppTest.AppTest_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.Page"));
                userType.Activator = Activate_13_gameThanks;
                userType.SetIsLocalType();
                xamlType = userType;
                break;

            case 14:   //  AppTest.MainPage
                userType           = new global::AppTest.AppTest_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.Page"));
                userType.Activator = Activate_14_MainPage;
                userType.SetIsLocalType();
                xamlType = userType;
                break;

            case 15:   //  AppTest.SecondePage
                userType           = new global::AppTest.AppTest_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.Page"));
                userType.Activator = Activate_15_SecondePage;
                userType.SetIsLocalType();
                xamlType = userType;
                break;
            }
            return(xamlType);
        }