Example #1
0
        private global::Windows.UI.Xaml.Markup.IXamlType CreateXamlType(string typeName)
        {
            global::DigimonCard.DigimonCard_XamlTypeInfo.XamlSystemBaseType xamlType = null;
            global::DigimonCard.DigimonCard_XamlTypeInfo.XamlUserType userType;

            switch (typeName)
            {
            case "Windows.UI.Xaml.Controls.UserControl":
                xamlType = new global::DigimonCard.DigimonCard_XamlTypeInfo.XamlSystemBaseType(typeName, typeof(global::Windows.UI.Xaml.Controls.UserControl));
                break;

            case "Windows.UI.Xaml.Controls.Page":
                xamlType = new global::DigimonCard.DigimonCard_XamlTypeInfo.XamlSystemBaseType(typeName, typeof(global::Windows.UI.Xaml.Controls.Page));
                break;

            case "Boolean":
                xamlType = new global::DigimonCard.DigimonCard_XamlTypeInfo.XamlSystemBaseType(typeName, typeof(global::System.Boolean));
                break;

            case "DigimonCard.Cards":
                userType = new global::DigimonCard.DigimonCard_XamlTypeInfo.XamlUserType(this, typeName, typeof(global::DigimonCard.Cards), GetXamlTypeByName("Windows.UI.Xaml.Controls.UserControl"));
                userType.Activator = Activate_0_Cards;
                xamlType = userType;
                break;

            case "DigimonCard.AttractCards":
                userType = new global::DigimonCard.DigimonCard_XamlTypeInfo.XamlUserType(this, typeName, typeof(global::DigimonCard.AttractCards), GetXamlTypeByName("DigimonCard.Cards"));
                userType.Activator = Activate_1_AttractCards;
                xamlType = userType;
                break;

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

            case "DigimonCard.GameLobbyPage":
                userType = new global::DigimonCard.DigimonCard_XamlTypeInfo.XamlUserType(this, typeName, typeof(global::DigimonCard.GameLobbyPage), GetXamlTypeByName("DigimonCard.Common.LayoutAwarePage"));
                userType.Activator = Activate_3_GameLobbyPage;
                xamlType = userType;
                break;

            case "DigimonCard.LoginPage":
                userType = new global::DigimonCard.DigimonCard_XamlTypeInfo.XamlUserType(this, typeName, typeof(global::DigimonCard.LoginPage), GetXamlTypeByName("Windows.UI.Xaml.Controls.Page"));
                userType.Activator = Activate_4_LoginPage;
                xamlType = userType;
                break;

            case "DigimonCard.MediaPlayPage":
                userType = new global::DigimonCard.DigimonCard_XamlTypeInfo.XamlUserType(this, typeName, typeof(global::DigimonCard.MediaPlayPage), GetXamlTypeByName("DigimonCard.Common.LayoutAwarePage"));
                userType.Activator = Activate_5_MediaPlayPage;
                userType.AddMemberName("IsFullscreen");
                AddToMapOfTypeToStandardName(typeof(global::System.Boolean),
                                                   "Boolean");
                xamlType = userType;
                break;

            case "DigimonCard.RegistPage":
                userType = new global::DigimonCard.DigimonCard_XamlTypeInfo.XamlUserType(this, typeName, typeof(global::DigimonCard.RegistPage), GetXamlTypeByName("Windows.UI.Xaml.Controls.Page"));
                userType.Activator = Activate_6_RegistPage;
                xamlType = userType;
                break;

            case "DigimonCard.RoomCard":
                userType = new global::DigimonCard.DigimonCard_XamlTypeInfo.XamlUserType(this, typeName, typeof(global::DigimonCard.RoomCard), GetXamlTypeByName("Windows.UI.Xaml.Controls.UserControl"));
                userType.Activator = Activate_7_RoomCard;
                xamlType = userType;
                break;

            case "DigimonCard.TestSocketIO":
                userType = new global::DigimonCard.DigimonCard_XamlTypeInfo.XamlUserType(this, typeName, typeof(global::DigimonCard.TestSocketIO), GetXamlTypeByName("Windows.UI.Xaml.Controls.Page"));
                userType.Activator = Activate_8_TestSocketIO;
                xamlType = userType;
                break;

            }
            return xamlType;
        }
Example #2
0
        private global::Windows.UI.Xaml.Markup.IXamlType CreateXamlType(string typeName)
        {
            global::DigimonCard.DigimonCard_XamlTypeInfo.XamlSystemBaseType xamlType = null;
            global::DigimonCard.DigimonCard_XamlTypeInfo.XamlUserType userType;

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

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

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

            case "DigimonCard.GameLobbyPage":
                userType = new global::DigimonCard.DigimonCard_XamlTypeInfo.XamlUserType(this, typeName, typeof(global::DigimonCard.GameLobbyPage), GetXamlTypeByName("DigimonCard.Common.LayoutAwarePage"));
                userType.Activator = Activate_1_GameLobbyPage;
                xamlType = userType;
                break;

            case "DigimonCard.GamePage":
                userType = new global::DigimonCard.DigimonCard_XamlTypeInfo.XamlUserType(this, typeName, typeof(global::DigimonCard.GamePage), GetXamlTypeByName("Windows.UI.Xaml.Controls.Page"));
                userType.Activator = Activate_2_GamePage;
                xamlType = userType;
                break;

            case "DigimonCard.RegistPage":
                userType = new global::DigimonCard.DigimonCard_XamlTypeInfo.XamlUserType(this, typeName, typeof(global::DigimonCard.RegistPage), GetXamlTypeByName("Windows.UI.Xaml.Controls.Page"));
                userType.Activator = Activate_3_RegistPage;
                xamlType = userType;
                break;

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

            case "DigimonCard.RoomCard":
                userType = new global::DigimonCard.DigimonCard_XamlTypeInfo.XamlUserType(this, typeName, typeof(global::DigimonCard.RoomCard), GetXamlTypeByName("Windows.UI.Xaml.Controls.UserControl"));
                userType.Activator = Activate_5_RoomCard;
                xamlType = userType;
                break;

            case "DigimonCard.WaitingRoom":
                userType = new global::DigimonCard.DigimonCard_XamlTypeInfo.XamlUserType(this, typeName, typeof(global::DigimonCard.WaitingRoom), GetXamlTypeByName("Windows.UI.Xaml.Controls.Page"));
                userType.Activator = Activate_6_WaitingRoom;
                xamlType = userType;
                break;

            }
            return xamlType;
        }