Пример #1
0
        private global::Windows.UI.Xaml.Markup.IXamlType CreateXamlType(string typeName)
        {
            global::App2.App2_XamlTypeInfo.XamlSystemBaseType xamlType = null;
            global::App2.App2_XamlTypeInfo.XamlUserType       userType;

            switch (typeName)
            {
            case "Windows.UI.Xaml.Controls.Page":
                xamlType = new global::App2.App2_XamlTypeInfo.XamlSystemBaseType(typeName, typeof(global::Windows.UI.Xaml.Controls.Page));
                break;

            case "Windows.UI.Xaml.Controls.UserControl":
                xamlType = new global::App2.App2_XamlTypeInfo.XamlSystemBaseType(typeName, typeof(global::Windows.UI.Xaml.Controls.UserControl));
                break;

            case "App2.Common.LayoutAwarePage":
                userType           = new global::App2.App2_XamlTypeInfo.XamlUserType(this, typeName, typeof(global::App2.Common.LayoutAwarePage), GetXamlTypeByName("Windows.UI.Xaml.Controls.Page"));
                userType.Activator = Activate_0_LayoutAwarePage;
                xamlType           = userType;
                break;

            case "App2.ItemsPage":
                userType           = new global::App2.App2_XamlTypeInfo.XamlUserType(this, typeName, typeof(global::App2.ItemsPage), GetXamlTypeByName("App2.Common.LayoutAwarePage"));
                userType.Activator = Activate_1_ItemsPage;
                xamlType           = userType;
                break;

            case "App2.SplitPage":
                userType           = new global::App2.App2_XamlTypeInfo.XamlUserType(this, typeName, typeof(global::App2.SplitPage), GetXamlTypeByName("App2.Common.LayoutAwarePage"));
                userType.Activator = Activate_2_SplitPage;
                xamlType           = userType;
                break;
            }
            return(xamlType);
        }
Пример #2
0
        private global::Windows.UI.Xaml.Markup.IXamlType CreateXamlType(int typeIndex)
        {
            global::App2.App2_XamlTypeInfo.XamlSystemBaseType xamlType = null;
            global::App2.App2_XamlTypeInfo.XamlUserType       userType;
            string typeName = _typeNameTable[typeIndex];

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

            switch (typeIndex)
            {
            case 0:   //  App2.MainPage
                userType           = new global::App2.App2_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::App2.App2_XamlTypeInfo.XamlSystemBaseType(typeName, type);
                break;

            case 2:   //  Windows.UI.Xaml.Controls.UserControl
                xamlType = new global::App2.App2_XamlTypeInfo.XamlSystemBaseType(typeName, type);
                break;
            }
            return(xamlType);
        }
Пример #3
0
        private global::Windows.UI.Xaml.Markup.IXamlType CreateXamlType(int typeIndex)
        {
            global::App2.App2_XamlTypeInfo.XamlSystemBaseType xamlType = null;
            global::App2.App2_XamlTypeInfo.XamlUserType       userType;
            string typeName = _typeNameTable[typeIndex];

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

            switch (typeIndex)
            {
            case 0:   //  App2.MainPage
                userType           = new global::App2.App2_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::App2.App2_XamlTypeInfo.XamlSystemBaseType(typeName, type);
                break;

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

            case 3:   //  App2.UserInformationDialog
                userType           = new global::App2.App2_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.ContentDialog"));
                userType.Activator = Activate_3_UserInformationDialog;
                userType.AddMemberName("UserName");
                userType.AddMemberName("UserMotherLanguage");
                userType.AddMemberName("UserGender");
                userType.AddMemberName("UserFluency");
                userType.SetIsLocalType();
                xamlType = userType;
                break;

            case 4:   //  Windows.UI.Xaml.Controls.ContentDialog
                xamlType = new global::App2.App2_XamlTypeInfo.XamlSystemBaseType(typeName, type);
                break;

            case 5:   //  Windows.UI.Xaml.Controls.ContentControl
                xamlType = new global::App2.App2_XamlTypeInfo.XamlSystemBaseType(typeName, type);
                break;

            case 6:   //  String
                xamlType = new global::App2.App2_XamlTypeInfo.XamlSystemBaseType(typeName, type);
                break;
            }
            return(xamlType);
        }
Пример #4
0
        private global::Windows.UI.Xaml.Markup.IXamlType CreateXamlType(int typeIndex)
        {
            global::App2.App2_XamlTypeInfo.XamlSystemBaseType xamlType = null;
            global::App2.App2_XamlTypeInfo.XamlUserType       userType;
            string typeName = _typeNameTable[typeIndex];

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

            switch (typeIndex)
            {
            case 0:   //  App2.MainPage
                userType           = new global::App2.App2_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::App2.App2_XamlTypeInfo.XamlSystemBaseType(typeName, type);
                break;

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

            case 3:   //  Microsoft.Toolkit.Uwp.UI.Extensions.NullableBool
                userType           = new global::App2.App2_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Markup.MarkupExtension"));
                userType.Activator = Activate_3_NullableBool;
                userType.AddMemberName("Value");
                userType.AddMemberName("IsNull");
                userType.SetIsBindable();
                userType.SetIsMarkupExtension();
                xamlType = userType;
                break;

            case 4:   //  Windows.UI.Xaml.Markup.MarkupExtension
                xamlType = new global::App2.App2_XamlTypeInfo.XamlSystemBaseType(typeName, type);
                break;

            case 5:   //  Boolean
                xamlType = new global::App2.App2_XamlTypeInfo.XamlSystemBaseType(typeName, type);
                break;
            }
            return(xamlType);
        }
Пример #5
0
        private global::Windows.UI.Xaml.Markup.IXamlType CreateXamlType(int typeIndex)
        {
            global::App2.App2_XamlTypeInfo.XamlSystemBaseType xamlType = null;
            global::App2.App2_XamlTypeInfo.XamlUserType userType;
            string typeName = _typeNameTable[typeIndex];
            global::System.Type type = _typeTable[typeIndex];

            switch (typeIndex)
            {

            case 0:   //  App2.MainPage
                userType = new global::App2.App2_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::App2.App2_XamlTypeInfo.XamlSystemBaseType(typeName, type);
                break;

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

            case 3:   //  App2.testPage
                userType = new global::App2.App2_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.Page"));
                userType.Activator = Activate_3_testPage;
                userType.AddMemberName("NavigationHelper");
                userType.AddMemberName("DefaultViewModel");
                userType.SetIsLocalType();
                xamlType = userType;
                break;

            case 4:   //  App2.Common.NavigationHelper
                userType = new global::App2.App2_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.DependencyObject"));
                userType.SetIsReturnTypeStub();
                userType.SetIsLocalType();
                xamlType = userType;
                break;

            case 5:   //  Windows.UI.Xaml.DependencyObject
                xamlType = new global::App2.App2_XamlTypeInfo.XamlSystemBaseType(typeName, type);
                break;

            case 6:   //  App2.Common.ObservableDictionary
                userType = new global::App2.App2_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Object"));
                userType.DictionaryAdd = MapAdd_6_ObservableDictionary;
                userType.SetIsReturnTypeStub();
                userType.SetIsLocalType();
                xamlType = userType;
                break;

            case 7:   //  Object
                xamlType = new global::App2.App2_XamlTypeInfo.XamlSystemBaseType(typeName, type);
                break;

            case 8:   //  String
                xamlType = new global::App2.App2_XamlTypeInfo.XamlSystemBaseType(typeName, type);
                break;
            }
            return xamlType;
        }
Пример #6
0
        private global::Windows.UI.Xaml.Markup.IXamlType CreateXamlType(int typeIndex)
        {
            global::App2.App2_XamlTypeInfo.XamlSystemBaseType xamlType = null;
            global::App2.App2_XamlTypeInfo.XamlUserType       userType;
            string typeName = _typeNameTable[typeIndex];

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

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

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

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

            case 3:   //  System.Collections.ObjectModel.ObservableCollection`1<App2.Entity.User>
                userType = new global::App2.App2_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("System.Collections.ObjectModel.Collection`1<App2.Entity.User>"));
                userType.CollectionAdd = VectorAdd_3_ObservableCollection;
                userType.SetIsReturnTypeStub();
                xamlType = userType;
                break;

            case 4:   //  System.Collections.ObjectModel.Collection`1<App2.Entity.User>
                userType               = new global::App2.App2_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Object"));
                userType.Activator     = Activate_4_Collection;
                userType.CollectionAdd = VectorAdd_4_Collection;
                xamlType               = userType;
                break;

            case 5:   //  Object
                xamlType = new global::App2.App2_XamlTypeInfo.XamlSystemBaseType(typeName, type);
                break;

            case 6:   //  App2.Entity.User
                userType           = new global::App2.App2_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Object"));
                userType.Activator = Activate_6_User;
                userType.AddMemberName("Id");
                userType.AddMemberName("Name");
                userType.AddMemberName("Email");
                userType.AddMemberName("Phone");
                userType.AddMemberName("Address");
                userType.AddMemberName("Avatar");
                userType.SetIsLocalType();
                xamlType = userType;
                break;

            case 7:   //  Int32
                xamlType = new global::App2.App2_XamlTypeInfo.XamlSystemBaseType(typeName, type);
                break;

            case 8:   //  String
                xamlType = new global::App2.App2_XamlTypeInfo.XamlSystemBaseType(typeName, type);
                break;
            }
            return(xamlType);
        }
Пример #7
0
        private global::Windows.UI.Xaml.Markup.IXamlType CreateXamlType(int typeIndex)
        {
            global::App2.App2_XamlTypeInfo.XamlSystemBaseType xamlType = null;
            global::App2.App2_XamlTypeInfo.XamlUserType       userType;
            string typeName = _typeNameTable[typeIndex];

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

            switch (typeIndex)
            {
            case 0:   //  App2.GroupedItemsPage
                userType           = new global::App2.App2_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.Page"));
                userType.Activator = Activate_0_GroupedItemsPage;
                userType.AddMemberName("NavigationHelper");
                userType.AddMemberName("DefaultViewModel");
                userType.SetIsLocalType();
                xamlType = userType;
                break;

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

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

            case 3:   //  App2.Common.NavigationHelper
                userType = new global::App2.App2_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.DependencyObject"));
                userType.SetIsReturnTypeStub();
                userType.SetIsLocalType();
                xamlType = userType;
                break;

            case 4:   //  Windows.UI.Xaml.DependencyObject
                xamlType = new global::App2.App2_XamlTypeInfo.XamlSystemBaseType(typeName, type);
                break;

            case 5:   //  App2.Common.ObservableDictionary
                userType = new global::App2.App2_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Object"));
                userType.DictionaryAdd = MapAdd_5_ObservableDictionary;
                userType.SetIsReturnTypeStub();
                userType.SetIsLocalType();
                xamlType = userType;
                break;

            case 6:   //  Object
                xamlType = new global::App2.App2_XamlTypeInfo.XamlSystemBaseType(typeName, type);
                break;

            case 7:   //  String
                xamlType = new global::App2.App2_XamlTypeInfo.XamlSystemBaseType(typeName, type);
                break;

            case 8:   //  App2.GroupDetailPage
                userType           = new global::App2.App2_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.Page"));
                userType.Activator = Activate_8_GroupDetailPage;
                userType.AddMemberName("NavigationHelper");
                userType.AddMemberName("DefaultViewModel");
                userType.SetIsLocalType();
                xamlType = userType;
                break;

            case 9:   //  App2.ItemDetailPage
                userType           = new global::App2.App2_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.Page"));
                userType.Activator = Activate_9_ItemDetailPage;
                userType.AddMemberName("NavigationHelper");
                userType.AddMemberName("DefaultViewModel");
                userType.SetIsLocalType();
                xamlType = userType;
                break;
            }
            return(xamlType);
        }
Пример #8
0
        private global::Windows.UI.Xaml.Markup.IXamlType CreateXamlType(int typeIndex)
        {
            global::App2.App2_XamlTypeInfo.XamlSystemBaseType xamlType = null;
            global::App2.App2_XamlTypeInfo.XamlUserType userType;
            string typeName = _typeNameTable[typeIndex];
            global::System.Type type = _typeTable[typeIndex];

            switch (typeIndex)
            {

            case 0:   //  App2.MainPage
                userType = new global::App2.App2_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::App2.App2_XamlTypeInfo.XamlSystemBaseType(typeName, type);
                break;

            case 2:   //  Windows.UI.Xaml.Controls.UserControl
                xamlType = new global::App2.App2_XamlTypeInfo.XamlSystemBaseType(typeName, type);
                break;
            }
            return xamlType;
        }
Пример #9
0
        private global::Windows.UI.Xaml.Markup.IXamlType CreateXamlType(string typeName)
        {
            global::App2.App2_XamlTypeInfo.XamlSystemBaseType xamlType = null;
            global::App2.App2_XamlTypeInfo.XamlUserType userType;

            switch (typeName)
            {
            case "Windows.UI.Xaml.Controls.Page":
                xamlType = new global::App2.App2_XamlTypeInfo.XamlSystemBaseType(typeName, typeof(global::Windows.UI.Xaml.Controls.Page));
                break;

            case "Windows.UI.Xaml.Controls.UserControl":
                xamlType = new global::App2.App2_XamlTypeInfo.XamlSystemBaseType(typeName, typeof(global::Windows.UI.Xaml.Controls.UserControl));
                break;

            case "App2.MainPage":
                userType = new global::App2.App2_XamlTypeInfo.XamlUserType(this, typeName, typeof(global::App2.MainPage), GetXamlTypeByName("Windows.UI.Xaml.Controls.Page"));
                userType.Activator = Activate_0_MainPage;
                xamlType = userType;
                break;

            }
            return xamlType;
        }
Пример #10
0
        private global::Windows.UI.Xaml.Markup.IXamlType CreateXamlType(int typeIndex)
        {
            global::App2.App2_XamlTypeInfo.XamlSystemBaseType xamlType = null;
            global::App2.App2_XamlTypeInfo.XamlUserType userType;
            string typeName = _typeNameTable[typeIndex];
            global::System.Type type = _typeTable[typeIndex];

            switch (typeIndex)
            {

            case 0:   //  App2.BasicPage1
                userType = new global::App2.App2_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.Page"));
                userType.Activator = Activate_0_BasicPage1;
                userType.AddMemberName("NavigationHelper");
                userType.AddMemberName("DefaultViewModel");
                userType.SetIsLocalType();
                xamlType = userType;
                break;

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

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

            case 3:   //  App2.Common.NavigationHelper
                userType = new global::App2.App2_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.DependencyObject"));
                userType.SetIsReturnTypeStub();
                userType.SetIsLocalType();
                xamlType = userType;
                break;

            case 4:   //  Windows.UI.Xaml.DependencyObject
                xamlType = new global::App2.App2_XamlTypeInfo.XamlSystemBaseType(typeName, type);
                break;

            case 5:   //  App2.Common.ObservableDictionary
                userType = new global::App2.App2_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Object"));
                userType.DictionaryAdd = MapAdd_5_ObservableDictionary;
                userType.SetIsReturnTypeStub();
                userType.SetIsLocalType();
                xamlType = userType;
                break;

            case 6:   //  Object
                xamlType = new global::App2.App2_XamlTypeInfo.XamlSystemBaseType(typeName, type);
                break;

            case 7:   //  String
                xamlType = new global::App2.App2_XamlTypeInfo.XamlSystemBaseType(typeName, type);
                break;

            case 8:   //  App2.finish
                userType = new global::App2.App2_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.Page"));
                userType.Activator = Activate_8_finish;
                userType.AddMemberName("NavigationHelper");
                userType.AddMemberName("DefaultViewModel");
                userType.SetIsLocalType();
                xamlType = userType;
                break;

            case 9:   //  App2.game
                userType = new global::App2.App2_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.Page"));
                userType.Activator = Activate_9_game;
                userType.AddMemberName("NavigationHelper");
                userType.AddMemberName("DefaultViewModel");
                userType.SetIsLocalType();
                xamlType = userType;
                break;

            case 10:   //  App2.name
                userType = new global::App2.App2_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.Page"));
                userType.Activator = Activate_10_name;
                userType.AddMemberName("NavigationHelper");
                userType.AddMemberName("DefaultViewModel");
                userType.SetIsLocalType();
                xamlType = userType;
                break;

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

            case 12:   //  App2.mode
                userType = new global::App2.App2_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.Page"));
                userType.Activator = Activate_12_mode;
                userType.AddMemberName("NavigationHelper");
                userType.AddMemberName("DefaultViewModel");
                userType.SetIsLocalType();
                xamlType = userType;
                break;

            case 13:   //  App2.playwith
                userType = new global::App2.App2_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.Page"));
                userType.Activator = Activate_13_playwith;
                userType.AddMemberName("NavigationHelper");
                userType.AddMemberName("DefaultViewModel");
                userType.SetIsLocalType();
                xamlType = userType;
                break;

            case 14:   //  App2.rules
                userType = new global::App2.App2_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.Page"));
                userType.Activator = Activate_14_rules;
                userType.AddMemberName("NavigationHelper");
                userType.AddMemberName("DefaultViewModel");
                userType.SetIsLocalType();
                xamlType = userType;
                break;

            case 15:   //  App2.settings
                userType = new global::App2.App2_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.Page"));
                userType.Activator = Activate_15_settings;
                userType.AddMemberName("NavigationHelper");
                userType.AddMemberName("DefaultViewModel");
                userType.SetIsLocalType();
                xamlType = userType;
                break;
            }
            return xamlType;
        }
Пример #11
0
        private global::Windows.UI.Xaml.Markup.IXamlType CreateXamlType(int typeIndex)
        {
            global::App2.App2_XamlTypeInfo.XamlSystemBaseType xamlType = null;
            global::App2.App2_XamlTypeInfo.XamlUserType       userType;
            string typeName = _typeNameTable[typeIndex];

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

            switch (typeIndex)
            {
            case 0:   //  App2.BlankPage2
                userType           = new global::App2.App2_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.Page"));
                userType.Activator = Activate_0_BlankPage2;
                userType.SetIsLocalType();
                xamlType = userType;
                break;

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

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

            case 3:   //  App2.BlankPage3
                userType           = new global::App2.App2_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.Page"));
                userType.Activator = Activate_3_BlankPage3;
                userType.SetIsLocalType();
                xamlType = userType;
                break;

            case 4:   //  App2.BlankPage4
                userType           = new global::App2.App2_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.Page"));
                userType.Activator = Activate_4_BlankPage4;
                userType.SetIsLocalType();
                xamlType = userType;
                break;

            case 5:   //  App2.BlankPage5
                userType           = new global::App2.App2_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.Page"));
                userType.Activator = Activate_5_BlankPage5;
                userType.SetIsLocalType();
                xamlType = userType;
                break;

            case 6:   //  App2.BlankPage6
                userType           = new global::App2.App2_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.Page"));
                userType.Activator = Activate_6_BlankPage6;
                userType.SetIsLocalType();
                xamlType = userType;
                break;

            case 7:   //  App2.BlankPage7
                userType           = new global::App2.App2_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.Page"));
                userType.Activator = Activate_7_BlankPage7;
                userType.SetIsLocalType();
                xamlType = userType;
                break;

            case 8:   //  App2.BlankPage8
                userType           = new global::App2.App2_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.Page"));
                userType.Activator = Activate_8_BlankPage8;
                userType.SetIsLocalType();
                xamlType = userType;
                break;

            case 9:   //  App2.MainPage
                userType           = new global::App2.App2_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.Page"));
                userType.Activator = Activate_9_MainPage;
                userType.SetIsLocalType();
                xamlType = userType;
                break;
            }
            return(xamlType);
        }
Пример #12
0
        private global::Windows.UI.Xaml.Markup.IXamlType CreateXamlType(int typeIndex)
        {
            global::App2.App2_XamlTypeInfo.XamlSystemBaseType xamlType = null;
            global::App2.App2_XamlTypeInfo.XamlUserType userType;
            string typeName = _typeNameTable[typeIndex];
            global::System.Type type = _typeTable[typeIndex];

            switch (typeIndex)
            {

            case 0:   //  PerpetuumSoft.Controls.ColorToBrushConverter
                userType = new global::App2.App2_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Object"));
                userType.Activator = Activate_0_ColorToBrushConverter;
                xamlType = userType;
                break;

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

            case 2:   //  PerpetuumSoft.Controls.RadialMenu
                userType = new global::App2.App2_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("PerpetuumSoft.Controls.RadialMenuBase"));
                userType.Activator = Activate_2_RadialMenu;
                userType.SetContentPropertyName("PerpetuumSoft.Controls.RadialMenu.Items");
                userType.AddMemberName("Items");
                userType.AddMemberName("Content");
                userType.AddMemberName("Image");
                xamlType = userType;
                break;

            case 3:   //  PerpetuumSoft.Controls.RadialMenuBase
                userType = new global::App2.App2_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("PerpetuumSoft.Controls.RadialObject"));
                userType.Activator = Activate_3_RadialMenuBase;
                userType.AddMemberName("IsOpen");
                userType.AddMemberName("CenterRadiusFactor");
                userType.AddMemberName("RingRadiusFactor");
                userType.AddMemberName("SectorCount");
                xamlType = userType;
                break;

            case 4:   //  PerpetuumSoft.Controls.RadialObject
                userType = new global::App2.App2_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.Control"));
                userType.Activator = Activate_4_RadialObject;
                userType.AddMemberName("RingHoverBrush");
                userType.AddMemberName("RingBackgroundBrush");
                userType.AddMemberName("BodyBrush");
                userType.AddMemberName("RingActiveBrush");
                xamlType = userType;
                break;

            case 5:   //  Windows.UI.Xaml.Controls.Control
                xamlType = new global::App2.App2_XamlTypeInfo.XamlSystemBaseType(typeName, type);
                break;

            case 6:   //  System.Collections.ObjectModel.ObservableCollection`1<PerpetuumSoft.Controls.RadialItem>
                userType = new global::App2.App2_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("System.Collections.ObjectModel.Collection`1<PerpetuumSoft.Controls.RadialItem>"));
                userType.CollectionAdd = VectorAdd_6_ObservableCollection;
                userType.SetIsReturnTypeStub();
                xamlType = userType;
                break;

            case 7:   //  System.Collections.ObjectModel.Collection`1<PerpetuumSoft.Controls.RadialItem>
                userType = new global::App2.App2_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Object"));
                userType.Activator = Activate_7_Collection;
                userType.CollectionAdd = VectorAdd_7_Collection;
                xamlType = userType;
                break;

            case 8:   //  PerpetuumSoft.Controls.RadialItem
                userType = new global::App2.App2_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("PerpetuumSoft.Controls.RadialItemBase"));
                userType.Activator = Activate_8_RadialItem;
                userType.SetContentPropertyName("PerpetuumSoft.Controls.RadialItem.Submenu");
                userType.AddMemberName("Submenu");
                userType.AddMemberName("Image");
                userType.AddMemberName("Label");
                userType.AddMemberName("Command");
                userType.AddMemberName("CommandParameter");
                userType.AddMemberName("IsChecked");
                userType.AddMemberName("ValueText");
                userType.AddMemberName("ValueBrush");
                userType.AddMemberName("Mode");
                userType.AddMemberName("GroupName");
                userType.AddMemberName("Content");
                userType.AddMemberName("CloseOnClick");
                xamlType = userType;
                break;

            case 9:   //  PerpetuumSoft.Controls.RadialItemBase
                userType = new global::App2.App2_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.Control"));
                userType.Activator = Activate_9_RadialItemBase;
                userType.AddMemberName("Index");
                userType.AddMemberName("ToolTip");
                userType.AddMemberName("ParentMenu");
                xamlType = userType;
                break;

            case 10:   //  Int32
                xamlType = new global::App2.App2_XamlTypeInfo.XamlSystemBaseType(typeName, type);
                break;

            case 11:   //  Windows.UI.Xaml.Media.ImageSource
                xamlType = new global::App2.App2_XamlTypeInfo.XamlSystemBaseType(typeName, type);
                break;

            case 12:   //  String
                xamlType = new global::App2.App2_XamlTypeInfo.XamlSystemBaseType(typeName, type);
                break;

            case 13:   //  System.Windows.Input.ICommand
                userType = new global::App2.App2_XamlTypeInfo.XamlUserType(this, typeName, type, null);
                userType.SetIsReturnTypeStub();
                xamlType = userType;
                break;

            case 14:   //  Boolean
                xamlType = new global::App2.App2_XamlTypeInfo.XamlSystemBaseType(typeName, type);
                break;

            case 15:   //  Windows.UI.Xaml.Media.Brush
                xamlType = new global::App2.App2_XamlTypeInfo.XamlSystemBaseType(typeName, type);
                break;

            case 16:   //  PerpetuumSoft.Controls.MenuItemMode
                userType = new global::App2.App2_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("System.Enum"));
                userType.AddEnumValue("None", global::PerpetuumSoft.Controls.MenuItemMode.None);
                userType.AddEnumValue("RadioButton", global::PerpetuumSoft.Controls.MenuItemMode.RadioButton);
                userType.AddEnumValue("CheckBox", global::PerpetuumSoft.Controls.MenuItemMode.CheckBox);
                xamlType = userType;
                break;

            case 17:   //  System.Enum
                userType = new global::App2.App2_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("System.ValueType"));
                xamlType = userType;
                break;

            case 18:   //  System.ValueType
                userType = new global::App2.App2_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Object"));
                xamlType = userType;
                break;

            case 19:   //  Double
                xamlType = new global::App2.App2_XamlTypeInfo.XamlSystemBaseType(typeName, type);
                break;

            case 20:   //  PerpetuumSoft.Controls.RadialColorPicker
                userType = new global::App2.App2_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("PerpetuumSoft.Controls.RadialMenu"));
                userType.Activator = Activate_20_RadialColorPicker;
                userType.SetContentPropertyName("PerpetuumSoft.Controls.RadialMenu.Items");
                userType.AddMemberName("Color");
                userType.AddMemberName("ColorItems");
                xamlType = userType;
                break;

            case 21:   //  Windows.UI.Color
                userType = new global::App2.App2_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("System.ValueType"));
                userType.SetIsReturnTypeStub();
                xamlType = userType;
                break;

            case 22:   //  System.Collections.ObjectModel.ObservableCollection`1<PerpetuumSoft.Controls.RadialColorPickerItem>
                userType = new global::App2.App2_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("System.Collections.ObjectModel.Collection`1<PerpetuumSoft.Controls.RadialColorPickerItem>"));
                userType.CollectionAdd = VectorAdd_22_ObservableCollection;
                userType.SetIsReturnTypeStub();
                xamlType = userType;
                break;

            case 23:   //  System.Collections.ObjectModel.Collection`1<PerpetuumSoft.Controls.RadialColorPickerItem>
                userType = new global::App2.App2_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Object"));
                userType.Activator = Activate_23_Collection;
                userType.CollectionAdd = VectorAdd_23_Collection;
                xamlType = userType;
                break;

            case 24:   //  PerpetuumSoft.Controls.RadialColorPickerItem
                userType = new global::App2.App2_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("PerpetuumSoft.Controls.RadialItemBase"));
                userType.Activator = Activate_24_RadialColorPickerItem;
                userType.SetContentPropertyName("PerpetuumSoft.Controls.RadialColorPickerItem.ColorItems");
                userType.AddMemberName("ColorItems");
                xamlType = userType;
                break;

            case 25:   //  PerpetuumSoft.Controls.RadialSlider
                userType = new global::App2.App2_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("PerpetuumSoft.Controls.RadialMenuBase"));
                userType.Activator = Activate_25_RadialSlider;
                userType.AddMemberName("Nicks");
                userType.AddMemberName("Value");
                userType.AddMemberName("Image");
                userType.AddMemberName("Content");
                xamlType = userType;
                break;

            case 26:   //  Windows.UI.Xaml.Media.DoubleCollection
                xamlType = new global::App2.App2_XamlTypeInfo.XamlSystemBaseType(typeName, type);
                break;

            case 27:   //  App2.DrawingPage
                userType = new global::App2.App2_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.Page"));
                userType.Activator = Activate_27_DrawingPage;
                userType.SetIsLocalType();
                xamlType = userType;
                break;

            case 28:   //  Windows.UI.Xaml.Controls.Page
                xamlType = new global::App2.App2_XamlTypeInfo.XamlSystemBaseType(typeName, type);
                break;

            case 29:   //  Windows.UI.Xaml.Controls.UserControl
                xamlType = new global::App2.App2_XamlTypeInfo.XamlSystemBaseType(typeName, type);
                break;

            case 30:   //  App2.MainPage
                userType = new global::App2.App2_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.Page"));
                userType.Activator = Activate_30_MainPage;
                userType.SetIsLocalType();
                xamlType = userType;
                break;

            case 31:   //  App2.Sample1
                userType = new global::App2.App2_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.Page"));
                userType.Activator = Activate_31_Sample1;
                userType.SetIsLocalType();
                xamlType = userType;
                break;

            case 32:   //  App2.Sample2
                userType = new global::App2.App2_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.Page"));
                userType.Activator = Activate_32_Sample2;
                userType.SetIsLocalType();
                xamlType = userType;
                break;

            case 33:   //  App2.Storage
                userType = new global::App2.App2_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.Page"));
                userType.Activator = Activate_33_Storage;
                userType.SetIsLocalType();
                xamlType = userType;
                break;
            }
            return xamlType;
        }
Пример #13
0
        private global::Windows.UI.Xaml.Markup.IXamlType CreateXamlType(int typeIndex)
        {
            global::App2.App2_XamlTypeInfo.XamlSystemBaseType xamlType = null;
            global::App2.App2_XamlTypeInfo.XamlUserType       userType;
            string typeName = _typeNameTable[typeIndex];

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

            switch (typeIndex)
            {
            case 0:   //  App2.UserControls.BaseUserControl
                userType           = new global::App2.App2_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.UserControl"));
                userType.Activator = Activate_0_BaseUserControl;
                userType.SetIsLocalType();
                xamlType = userType;
                break;

            case 1:   //  Windows.UI.Xaml.Controls.UserControl
                xamlType = new global::App2.App2_XamlTypeInfo.XamlSystemBaseType(typeName, type);
                break;

            case 2:   //  App2.UserControls.AbilityUserControl
                userType           = new global::App2.App2_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("App2.UserControls.BaseUserControl"));
                userType.Activator = Activate_2_AbilityUserControl;
                userType.AddMemberName("Ability");
                userType.SetIsLocalType();
                xamlType = userType;
                break;

            case 3:   //  App2.Models.Ability
                userType = new global::App2.App2_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("App2.Models.EntityBase"));
                userType.SetIsReturnTypeStub();
                userType.SetIsLocalType();
                xamlType = userType;
                break;

            case 4:   //  App2.Models.EntityBase
                userType           = new global::App2.App2_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Object"));
                userType.Activator = Activate_4_EntityBase;
                userType.SetIsLocalType();
                xamlType = userType;
                break;

            case 5:   //  Object
                xamlType = new global::App2.App2_XamlTypeInfo.XamlSystemBaseType(typeName, type);
                break;

            case 6:   //  App2.UserControls.AbilityItemUserControl
                userType           = new global::App2.App2_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("App2.UserControls.BaseUserControl"));
                userType.Activator = Activate_6_AbilityItemUserControl;
                userType.AddMemberName("AbilityItem");
                userType.SetIsLocalType();
                xamlType = userType;
                break;

            case 7:   //  App2.Models.AbilityItem
                userType = new global::App2.App2_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("App2.Models.EntityBase"));
                userType.SetIsReturnTypeStub();
                userType.SetIsLocalType();
                xamlType = userType;
                break;

            case 8:   //  App2.UserControls.FormUserControl
                userType           = new global::App2.App2_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("App2.UserControls.BaseUserControl"));
                userType.Activator = Activate_8_FormUserControl;
                userType.AddMemberName("Form");
                userType.SetIsLocalType();
                xamlType = userType;
                break;

            case 9:   //  App2.Models.Form
                userType = new global::App2.App2_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("App2.Models.EntityBase"));
                userType.SetIsReturnTypeStub();
                userType.SetIsLocalType();
                xamlType = userType;
                break;

            case 10:   //  App2.UserControls.GameIndiceUserControl
                userType           = new global::App2.App2_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.UserControl"));
                userType.Activator = Activate_10_GameIndiceUserControl;
                userType.SetIsLocalType();
                xamlType = userType;
                break;

            case 11:   //  App2.UserControls.MoveItemUserControl
                userType           = new global::App2.App2_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.UserControl"));
                userType.Activator = Activate_11_MoveItemUserControl;
                userType.SetIsLocalType();
                xamlType = userType;
                break;

            case 12:   //  App2.UserControls.MoveLearnMethodUserControl
                userType           = new global::App2.App2_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.UserControl"));
                userType.Activator = Activate_12_MoveLearnMethodUserControl;
                userType.SetIsLocalType();
                xamlType = userType;
                break;

            case 13:   //  App2.UserControls.MoveUserControl
                userType           = new global::App2.App2_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.UserControl"));
                userType.Activator = Activate_13_MoveUserControl;
                userType.SetIsLocalType();
                xamlType = userType;
                break;

            case 14:   //  App2.UserControls.PokemonUserControl
                userType           = new global::App2.App2_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.UserControl"));
                userType.Activator = Activate_14_PokemonUserControl;
                userType.SetIsLocalType();
                xamlType = userType;
                break;

            case 15:   //  App2.UserControls.SpeciesUserControl
                userType           = new global::App2.App2_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.UserControl"));
                userType.Activator = Activate_15_SpeciesUserControl;
                userType.SetIsLocalType();
                xamlType = userType;
                break;

            case 16:   //  App2.UserControls.StatItemUserControl
                userType           = new global::App2.App2_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.UserControl"));
                userType.Activator = Activate_16_StatItemUserControl;
                userType.SetIsLocalType();
                xamlType = userType;
                break;

            case 17:   //  App2.UserControls.StatUserControl
                userType           = new global::App2.App2_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.UserControl"));
                userType.Activator = Activate_17_StatUserControl;
                userType.SetIsLocalType();
                xamlType = userType;
                break;

            case 18:   //  App2.UserControls.TypeItemUserControl
                userType           = new global::App2.App2_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.UserControl"));
                userType.Activator = Activate_18_TypeItemUserControl;
                userType.SetIsLocalType();
                xamlType = userType;
                break;

            case 19:   //  App2.UserControls.TypeUserControl
                userType           = new global::App2.App2_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.UserControl"));
                userType.Activator = Activate_19_TypeUserControl;
                userType.SetIsLocalType();
                xamlType = userType;
                break;

            case 20:   //  App2.UserControls.VersionGroupDetailUserControl
                userType           = new global::App2.App2_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.UserControl"));
                userType.Activator = Activate_20_VersionGroupDetailUserControl;
                userType.SetIsLocalType();
                xamlType = userType;
                break;

            case 21:   //  App2.UserControls.VersionGroupUserControl
                userType           = new global::App2.App2_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.UserControl"));
                userType.Activator = Activate_21_VersionGroupUserControl;
                userType.SetIsLocalType();
                xamlType = userType;
                break;

            case 22:   //  App2.UserControls.VersionUserControl
                userType           = new global::App2.App2_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.UserControl"));
                userType.Activator = Activate_22_VersionUserControl;
                userType.SetIsLocalType();
                xamlType = userType;
                break;

            case 23:   //  App2.Views.PokemonView
                userType           = new global::App2.App2_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.Page"));
                userType.Activator = Activate_23_PokemonView;
                userType.AddMemberName("AbilityUserControl");
                userType.AddMemberName("FormUserControl");
                userType.AddMemberName("PokemonViewModel");
                userType.SetIsLocalType();
                xamlType = userType;
                break;

            case 24:   //  Windows.UI.Xaml.Controls.Page
                xamlType = new global::App2.App2_XamlTypeInfo.XamlSystemBaseType(typeName, type);
                break;

            case 25:   //  App2.ViewModels.PokemonViewModel
                userType = new global::App2.App2_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Object"));
                userType.SetIsReturnTypeStub();
                userType.SetIsLocalType();
                xamlType = userType;
                break;
            }
            return(xamlType);
        }
Пример #14
0
        private global::Windows.UI.Xaml.Markup.IXamlType CreateXamlType(int typeIndex)
        {
            global::App2.App2_XamlTypeInfo.XamlSystemBaseType xamlType = null;
            global::App2.App2_XamlTypeInfo.XamlUserType       userType;
            string typeName = _typeNameTable[typeIndex];

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

            switch (typeIndex)
            {
            case 0:   //  App2.BasicPage1
                userType           = new global::App2.App2_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.Page"));
                userType.Activator = Activate_0_BasicPage1;
                userType.AddMemberName("NavigationHelper");
                userType.AddMemberName("DefaultViewModel");
                userType.SetIsLocalType();
                xamlType = userType;
                break;

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

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

            case 3:   //  App2.Common.NavigationHelper
                userType = new global::App2.App2_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.DependencyObject"));
                userType.SetIsReturnTypeStub();
                userType.SetIsLocalType();
                xamlType = userType;
                break;

            case 4:   //  Windows.UI.Xaml.DependencyObject
                xamlType = new global::App2.App2_XamlTypeInfo.XamlSystemBaseType(typeName, type);
                break;

            case 5:   //  App2.Common.ObservableDictionary
                userType = new global::App2.App2_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Object"));
                userType.DictionaryAdd = MapAdd_5_ObservableDictionary;
                userType.SetIsReturnTypeStub();
                userType.SetIsLocalType();
                xamlType = userType;
                break;

            case 6:   //  Object
                xamlType = new global::App2.App2_XamlTypeInfo.XamlSystemBaseType(typeName, type);
                break;

            case 7:   //  String
                xamlType = new global::App2.App2_XamlTypeInfo.XamlSystemBaseType(typeName, type);
                break;

            case 8:   //  App2.finish
                userType           = new global::App2.App2_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.Page"));
                userType.Activator = Activate_8_finish;
                userType.AddMemberName("NavigationHelper");
                userType.AddMemberName("DefaultViewModel");
                userType.SetIsLocalType();
                xamlType = userType;
                break;

            case 9:   //  App2.game
                userType           = new global::App2.App2_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.Page"));
                userType.Activator = Activate_9_game;
                userType.AddMemberName("NavigationHelper");
                userType.AddMemberName("DefaultViewModel");
                userType.SetIsLocalType();
                xamlType = userType;
                break;

            case 10:   //  App2.name
                userType           = new global::App2.App2_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.Page"));
                userType.Activator = Activate_10_name;
                userType.AddMemberName("NavigationHelper");
                userType.AddMemberName("DefaultViewModel");
                userType.SetIsLocalType();
                xamlType = userType;
                break;

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

            case 12:   //  App2.mode
                userType           = new global::App2.App2_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.Page"));
                userType.Activator = Activate_12_mode;
                userType.AddMemberName("NavigationHelper");
                userType.AddMemberName("DefaultViewModel");
                userType.SetIsLocalType();
                xamlType = userType;
                break;

            case 13:   //  App2.playwith
                userType           = new global::App2.App2_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.Page"));
                userType.Activator = Activate_13_playwith;
                userType.AddMemberName("NavigationHelper");
                userType.AddMemberName("DefaultViewModel");
                userType.SetIsLocalType();
                xamlType = userType;
                break;

            case 14:   //  App2.rules
                userType           = new global::App2.App2_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.Page"));
                userType.Activator = Activate_14_rules;
                userType.AddMemberName("NavigationHelper");
                userType.AddMemberName("DefaultViewModel");
                userType.SetIsLocalType();
                xamlType = userType;
                break;

            case 15:   //  App2.settings
                userType           = new global::App2.App2_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.Page"));
                userType.Activator = Activate_15_settings;
                userType.AddMemberName("NavigationHelper");
                userType.AddMemberName("DefaultViewModel");
                userType.SetIsLocalType();
                xamlType = userType;
                break;
            }
            return(xamlType);
        }