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

            switch (typeIndex)
            {

            case 0:   //  AppViewBackButton.ViewModels.Base.ViewModelLocator
                userType = new global::AppViewBackButton.AppViewBackButton_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Object"));
                userType.Activator = Activate_0_ViewModelLocator;
                userType.AddMemberName("FirstViewModel");
                userType.AddMemberName("SecondViewModel");
                userType.SetIsLocalType();
                xamlType = userType;
                break;

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

            case 2:   //  AppViewBackButton.ViewModels.FirstViewModel
                userType = new global::AppViewBackButton.AppViewBackButton_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("AppViewBackButton.ViewModels.Base.ViewModelBase"));
                userType.SetIsReturnTypeStub();
                userType.SetIsLocalType();
                xamlType = userType;
                break;

            case 3:   //  AppViewBackButton.ViewModels.Base.ViewModelBase
                userType = new global::AppViewBackButton.AppViewBackButton_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Object"));
                userType.SetIsLocalType();
                xamlType = userType;
                break;

            case 4:   //  AppViewBackButton.ViewModels.SecondViewModel
                userType = new global::AppViewBackButton.AppViewBackButton_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("AppViewBackButton.ViewModels.Base.ViewModelBase"));
                userType.SetIsReturnTypeStub();
                userType.SetIsLocalType();
                xamlType = userType;
                break;

            case 5:   //  AppViewBackButton.Converters.IntToVisibilityConverter
                userType = new global::AppViewBackButton.AppViewBackButton_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Object"));
                userType.Activator = Activate_5_IntToVisibilityConverter;
                userType.SetIsLocalType();
                xamlType = userType;
                break;

            case 6:   //  AppViewBackButton.Views.Base.PageBase
                userType = new global::AppViewBackButton.AppViewBackButton_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.Page"));
                userType.Activator = Activate_6_PageBase;
                userType.SetIsLocalType();
                xamlType = userType;
                break;

            case 7:   //  Windows.UI.Xaml.Controls.Page
                xamlType = new global::AppViewBackButton.AppViewBackButton_XamlTypeInfo.XamlSystemBaseType(typeName, type);
                break;

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

            case 9:   //  AppViewBackButton.Views.FirstView
                userType = new global::AppViewBackButton.AppViewBackButton_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("AppViewBackButton.Views.Base.PageBase"));
                userType.Activator = Activate_9_FirstView;
                userType.SetIsLocalType();
                xamlType = userType;
                break;

            case 10:   //  AppViewBackButton.Views.SecondView
                userType = new global::AppViewBackButton.AppViewBackButton_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("AppViewBackButton.Views.Base.PageBase"));
                userType.Activator = Activate_10_SecondView;
                userType.SetIsLocalType();
                xamlType = userType;
                break;
            }
            return xamlType;
        }
Exemplo n.º 2
0
        private global::Windows.UI.Xaml.Markup.IXamlType CreateXamlType(int typeIndex)
        {
            global::AppViewBackButton.AppViewBackButton_XamlTypeInfo.XamlSystemBaseType xamlType = null;
            global::AppViewBackButton.AppViewBackButton_XamlTypeInfo.XamlUserType       userType;
            string typeName = _typeNameTable[typeIndex];

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

            switch (typeIndex)
            {
            case 0:   //  AppViewBackButton.ViewModels.Base.ViewModelLocator
                userType           = new global::AppViewBackButton.AppViewBackButton_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Object"));
                userType.Activator = Activate_0_ViewModelLocator;
                userType.AddMemberName("FirstViewModel");
                userType.AddMemberName("SecondViewModel");
                userType.SetIsLocalType();
                xamlType = userType;
                break;

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

            case 2:   //  AppViewBackButton.ViewModels.FirstViewModel
                userType = new global::AppViewBackButton.AppViewBackButton_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("AppViewBackButton.ViewModels.Base.ViewModelBase"));
                userType.SetIsReturnTypeStub();
                userType.SetIsLocalType();
                xamlType = userType;
                break;

            case 3:   //  AppViewBackButton.ViewModels.Base.ViewModelBase
                userType = new global::AppViewBackButton.AppViewBackButton_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Object"));
                userType.SetIsLocalType();
                xamlType = userType;
                break;

            case 4:   //  AppViewBackButton.ViewModels.SecondViewModel
                userType = new global::AppViewBackButton.AppViewBackButton_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("AppViewBackButton.ViewModels.Base.ViewModelBase"));
                userType.SetIsReturnTypeStub();
                userType.SetIsLocalType();
                xamlType = userType;
                break;

            case 5:   //  AppViewBackButton.Converters.IntToVisibilityConverter
                userType           = new global::AppViewBackButton.AppViewBackButton_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Object"));
                userType.Activator = Activate_5_IntToVisibilityConverter;
                userType.SetIsLocalType();
                xamlType = userType;
                break;

            case 6:   //  AppViewBackButton.Views.Base.PageBase
                userType           = new global::AppViewBackButton.AppViewBackButton_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.Page"));
                userType.Activator = Activate_6_PageBase;
                userType.SetIsLocalType();
                xamlType = userType;
                break;

            case 7:   //  Windows.UI.Xaml.Controls.Page
                xamlType = new global::AppViewBackButton.AppViewBackButton_XamlTypeInfo.XamlSystemBaseType(typeName, type);
                break;

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

            case 9:   //  AppViewBackButton.Views.FirstView
                userType           = new global::AppViewBackButton.AppViewBackButton_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("AppViewBackButton.Views.Base.PageBase"));
                userType.Activator = Activate_9_FirstView;
                userType.SetIsLocalType();
                xamlType = userType;
                break;

            case 10:   //  AppViewBackButton.Views.SecondView
                userType           = new global::AppViewBackButton.AppViewBackButton_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("AppViewBackButton.Views.Base.PageBase"));
                userType.Activator = Activate_10_SecondView;
                userType.SetIsLocalType();
                xamlType = userType;
                break;
            }
            return(xamlType);
        }