private global::Windows.UI.Xaml.Markup.IXamlType CreateXamlType(string typeName)
        {
            global::FriendsWithPaws.FriendsWithPaws_XamlTypeInfo.XamlSystemBaseType xamlType = null;
            global::FriendsWithPaws.FriendsWithPaws_XamlTypeInfo.XamlUserType       userType;

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

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

            case "Object":
                xamlType = new global::FriendsWithPaws.FriendsWithPaws_XamlTypeInfo.XamlSystemBaseType(typeName, typeof(global::System.Object));
                break;

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

            case "FriendsWithPaws.GroupedItemsPage":
                userType           = new global::FriendsWithPaws.FriendsWithPaws_XamlTypeInfo.XamlUserType(this, typeName, typeof(global::FriendsWithPaws.GroupedItemsPage), GetXamlTypeByName("FriendsWithPaws.Common.LayoutAwarePage"));
                userType.Activator = Activate_1_GroupedItemsPage;
                xamlType           = userType;
                break;

            case "FriendsWithPaws.GroupDetailPage":
                userType           = new global::FriendsWithPaws.FriendsWithPaws_XamlTypeInfo.XamlUserType(this, typeName, typeof(global::FriendsWithPaws.GroupDetailPage), GetXamlTypeByName("FriendsWithPaws.Common.LayoutAwarePage"));
                userType.Activator = Activate_2_GroupDetailPage;
                xamlType           = userType;
                break;

            case "FriendsWithPaws.Common.ListConverter":
                userType           = new global::FriendsWithPaws.FriendsWithPaws_XamlTypeInfo.XamlUserType(this, typeName, typeof(global::FriendsWithPaws.Common.ListConverter), GetXamlTypeByName("Object"));
                userType.Activator = Activate_3_ListConverter;
                xamlType           = userType;
                break;

            case "FriendsWithPaws.ItemDetailPage":
                userType           = new global::FriendsWithPaws.FriendsWithPaws_XamlTypeInfo.XamlUserType(this, typeName, typeof(global::FriendsWithPaws.ItemDetailPage), GetXamlTypeByName("FriendsWithPaws.Common.LayoutAwarePage"));
                userType.Activator = Activate_4_ItemDetailPage;
                xamlType           = userType;
                break;

            case "FriendsWithPaws.Common.BooleanToVisibilityConverter":
                userType           = new global::FriendsWithPaws.FriendsWithPaws_XamlTypeInfo.XamlUserType(this, typeName, typeof(global::FriendsWithPaws.Common.BooleanToVisibilityConverter), GetXamlTypeByName("Object"));
                userType.Activator = Activate_5_BooleanToVisibilityConverter;
                xamlType           = userType;
                break;

            case "FriendsWithPaws.SearchResultsPage":
                userType           = new global::FriendsWithPaws.FriendsWithPaws_XamlTypeInfo.XamlUserType(this, typeName, typeof(global::FriendsWithPaws.SearchResultsPage), GetXamlTypeByName("FriendsWithPaws.Common.LayoutAwarePage"));
                userType.Activator = Activate_6_SearchResultsPage;
                xamlType           = userType;
                break;
            }
            return(xamlType);
        }
Exemple #2
0
        private global::Windows.UI.Xaml.Markup.IXamlType CreateXamlType(int typeIndex)
        {
            global::FriendsWithPaws.FriendsWithPaws_XamlTypeInfo.XamlSystemBaseType xamlType = null;
            global::FriendsWithPaws.FriendsWithPaws_XamlTypeInfo.XamlUserType       userType;
            string typeName = _typeNameTable[typeIndex];

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

            switch (typeIndex)
            {
            case 0:   //  FriendsWithPaws.Common.LayoutAwarePage
                userType           = new global::FriendsWithPaws.FriendsWithPaws_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.Page"));
                userType.Activator = Activate_0_LayoutAwarePage;
                userType.SetIsLocalType();
                xamlType = userType;
                break;

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

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

            case 3:   //  FriendsWithPaws.GroupedItemsPage
                userType           = new global::FriendsWithPaws.FriendsWithPaws_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("FriendsWithPaws.Common.LayoutAwarePage"));
                userType.Activator = Activate_3_GroupedItemsPage;
                userType.SetIsLocalType();
                xamlType = userType;
                break;

            case 4:   //  FriendsWithPaws.GroupDetailPage
                userType           = new global::FriendsWithPaws.FriendsWithPaws_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("FriendsWithPaws.Common.LayoutAwarePage"));
                userType.Activator = Activate_4_GroupDetailPage;
                userType.SetIsLocalType();
                xamlType = userType;
                break;

            case 5:   //  FriendsWithPaws.Common.ListConverter
                userType           = new global::FriendsWithPaws.FriendsWithPaws_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Object"));
                userType.Activator = Activate_5_ListConverter;
                userType.SetIsLocalType();
                xamlType = userType;
                break;

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

            case 7:   //  FriendsWithPaws.ItemDetailPage
                userType           = new global::FriendsWithPaws.FriendsWithPaws_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("FriendsWithPaws.Common.LayoutAwarePage"));
                userType.Activator = Activate_7_ItemDetailPage;
                userType.SetIsLocalType();
                xamlType = userType;
                break;

            case 8:   //  FriendsWithPaws.Common.BooleanToVisibilityConverter
                userType           = new global::FriendsWithPaws.FriendsWithPaws_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Object"));
                userType.Activator = Activate_8_BooleanToVisibilityConverter;
                userType.SetIsLocalType();
                xamlType = userType;
                break;

            case 9:   //  FriendsWithPaws.SearchResultsPage
                userType           = new global::FriendsWithPaws.FriendsWithPaws_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("FriendsWithPaws.Common.LayoutAwarePage"));
                userType.Activator = Activate_9_SearchResultsPage;
                userType.SetIsLocalType();
                xamlType = userType;
                break;
            }
            return(xamlType);
        }