private global::Windows.UI.Xaml.Markup.IXamlType CreateXamlType(int typeIndex)
        {
            global::ProjetC.ProjetC_XamlTypeInfo.XamlSystemBaseType xamlType = null;
            global::ProjetC.ProjetC_XamlTypeInfo.XamlUserType userType;
            string typeName = _typeNameTable[typeIndex];
            global::System.Type type = _typeTable[typeIndex];

            switch (typeIndex)
            {

            case 0:   //  ProjetC.ViewModel.ViewModelLocator
                userType = new global::ProjetC.ProjetC_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Object"));
                userType.Activator = Activate_0_ViewModelLocator;
                userType.AddMemberName("Main");
                userType.AddMemberName("RendezVous");
                userType.AddMemberName("Admin");
                userType.AddMemberName("PageAdmin");
                userType.SetIsLocalType();
                xamlType = userType;
                break;

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

            case 2:   //  ProjetC.ViewModel.MainPageViewModel
                userType = new global::ProjetC.ProjetC_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("GalaSoft.MvvmLight.ViewModelBase"));
                userType.SetIsReturnTypeStub();
                userType.SetIsLocalType();
                xamlType = userType;
                break;

            case 3:   //  GalaSoft.MvvmLight.ViewModelBase
                userType = new global::ProjetC.ProjetC_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("GalaSoft.MvvmLight.ObservableObject"));
                xamlType = userType;
                break;

            case 4:   //  GalaSoft.MvvmLight.ObservableObject
                userType = new global::ProjetC.ProjetC_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Object"));
                userType.Activator = Activate_4_ObservableObject;
                xamlType = userType;
                break;

            case 5:   //  ProjetC.ViewModel.RendezVousViewModel
                userType = new global::ProjetC.ProjetC_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("GalaSoft.MvvmLight.ViewModelBase"));
                userType.SetIsReturnTypeStub();
                userType.SetIsLocalType();
                xamlType = userType;
                break;

            case 6:   //  ProjetC.ViewModel.AdministrateurViewModel
                userType = new global::ProjetC.ProjetC_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("GalaSoft.MvvmLight.ViewModelBase"));
                userType.SetIsReturnTypeStub();
                userType.SetIsLocalType();
                xamlType = userType;
                break;

            case 7:   //  ProjetC.ViewModel.PageAdminViewModel
                userType = new global::ProjetC.ProjetC_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("GalaSoft.MvvmLight.ViewModelBase"));
                userType.SetIsReturnTypeStub();
                userType.SetIsLocalType();
                xamlType = userType;
                break;

            case 8:   //  ProjetC.AdministrateurPage
                userType = new global::ProjetC.ProjetC_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.Page"));
                userType.Activator = Activate_8_AdministrateurPage;
                userType.SetIsLocalType();
                xamlType = userType;
                break;

            case 9:   //  Windows.UI.Xaml.Controls.Page
                xamlType = new global::ProjetC.ProjetC_XamlTypeInfo.XamlSystemBaseType(typeName, type);
                break;

            case 10:   //  Windows.UI.Xaml.Controls.UserControl
                xamlType = new global::ProjetC.ProjetC_XamlTypeInfo.XamlSystemBaseType(typeName, type);
                break;

            case 11:   //  ProjetC.MainPage
                userType = new global::ProjetC.ProjetC_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.Page"));
                userType.Activator = Activate_11_MainPage;
                userType.SetIsLocalType();
                xamlType = userType;
                break;

            case 12:   //  ProjetC.PageAdmin
                userType = new global::ProjetC.ProjetC_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.Page"));
                userType.Activator = Activate_12_PageAdmin;
                userType.SetIsLocalType();
                xamlType = userType;
                break;

            case 13:   //  ProjetC.RendezVousPage
                userType = new global::ProjetC.ProjetC_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.Page"));
                userType.Activator = Activate_13_RendezVousPage;
                userType.SetIsLocalType();
                xamlType = userType;
                break;
            }
            return xamlType;
        }
Exemple #2
0
        private global::Windows.UI.Xaml.Markup.IXamlType CreateXamlType(int typeIndex)
        {
            global::ProjetC.ProjetC_XamlTypeInfo.XamlSystemBaseType xamlType = null;
            global::ProjetC.ProjetC_XamlTypeInfo.XamlUserType       userType;
            string typeName = _typeNameTable[typeIndex];

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

            switch (typeIndex)
            {
            case 0:   //  ProjetC.ViewModel.ViewModelLocator
                userType           = new global::ProjetC.ProjetC_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Object"));
                userType.Activator = Activate_0_ViewModelLocator;
                userType.AddMemberName("Main");
                userType.AddMemberName("RendezVous");
                userType.AddMemberName("Admin");
                userType.AddMemberName("PageAdmin");
                userType.SetIsLocalType();
                xamlType = userType;
                break;

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

            case 2:   //  ProjetC.ViewModel.MainPageViewModel
                userType = new global::ProjetC.ProjetC_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("GalaSoft.MvvmLight.ViewModelBase"));
                userType.SetIsReturnTypeStub();
                userType.SetIsLocalType();
                xamlType = userType;
                break;

            case 3:   //  GalaSoft.MvvmLight.ViewModelBase
                userType = new global::ProjetC.ProjetC_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("GalaSoft.MvvmLight.ObservableObject"));
                xamlType = userType;
                break;

            case 4:   //  GalaSoft.MvvmLight.ObservableObject
                userType           = new global::ProjetC.ProjetC_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Object"));
                userType.Activator = Activate_4_ObservableObject;
                xamlType           = userType;
                break;

            case 5:   //  ProjetC.ViewModel.RendezVousViewModel
                userType = new global::ProjetC.ProjetC_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("GalaSoft.MvvmLight.ViewModelBase"));
                userType.SetIsReturnTypeStub();
                userType.SetIsLocalType();
                xamlType = userType;
                break;

            case 6:   //  ProjetC.ViewModel.AdministrateurViewModel
                userType = new global::ProjetC.ProjetC_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("GalaSoft.MvvmLight.ViewModelBase"));
                userType.SetIsReturnTypeStub();
                userType.SetIsLocalType();
                xamlType = userType;
                break;

            case 7:   //  ProjetC.ViewModel.PageAdminViewModel
                userType = new global::ProjetC.ProjetC_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("GalaSoft.MvvmLight.ViewModelBase"));
                userType.SetIsReturnTypeStub();
                userType.SetIsLocalType();
                xamlType = userType;
                break;

            case 8:   //  ProjetC.AdministrateurPage
                userType           = new global::ProjetC.ProjetC_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.Page"));
                userType.Activator = Activate_8_AdministrateurPage;
                userType.SetIsLocalType();
                xamlType = userType;
                break;

            case 9:   //  Windows.UI.Xaml.Controls.Page
                xamlType = new global::ProjetC.ProjetC_XamlTypeInfo.XamlSystemBaseType(typeName, type);
                break;

            case 10:   //  Windows.UI.Xaml.Controls.UserControl
                xamlType = new global::ProjetC.ProjetC_XamlTypeInfo.XamlSystemBaseType(typeName, type);
                break;

            case 11:   //  ProjetC.MainPage
                userType           = new global::ProjetC.ProjetC_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.Page"));
                userType.Activator = Activate_11_MainPage;
                userType.SetIsLocalType();
                xamlType = userType;
                break;

            case 12:   //  ProjetC.PageAdmin
                userType           = new global::ProjetC.ProjetC_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.Page"));
                userType.Activator = Activate_12_PageAdmin;
                userType.SetIsLocalType();
                xamlType = userType;
                break;

            case 13:   //  ProjetC.RendezVousPage
                userType           = new global::ProjetC.ProjetC_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.Page"));
                userType.Activator = Activate_13_RendezVousPage;
                userType.SetIsLocalType();
                xamlType = userType;
                break;
            }
            return(xamlType);
        }