Esempio n. 1
0
        private global::Windows.UI.Xaml.Markup.IXamlType CreateXamlType(int typeIndex)
        {
            global::App5.App5_XamlTypeInfo.XamlSystemBaseType xamlType = null;
            global::App5.App5_XamlTypeInfo.XamlUserType       userType;
            string typeName = _typeNameTable[typeIndex];

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

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

            case 2:   //  Windows.UI.Xaml.Controls.UserControl
                xamlType = new global::App5.App5_XamlTypeInfo.XamlSystemBaseType(typeName, type);
                break;
            }
            return(xamlType);
        }
Esempio n. 2
0
        private global::Windows.UI.Xaml.Markup.IXamlType CreateXamlType(int typeIndex)
        {
            global::App5.App5_XamlTypeInfo.XamlSystemBaseType xamlType = null;
            global::App5.App5_XamlTypeInfo.XamlUserType       userType;
            string typeName = _typeNameTable[typeIndex];

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

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

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

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

            case 3:   //  App5.ViewModels.MainViewModel
                userType = new global::App5.App5_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("App5.Helpers.Observable"));
                userType.SetIsReturnTypeStub();
                userType.SetIsLocalType();
                xamlType = userType;
                break;

            case 4:   //  App5.Helpers.Observable
                userType           = new global::App5.App5_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Object"));
                userType.Activator = Activate_4_Observable;
                userType.SetIsLocalType();
                xamlType = userType;
                break;

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

            case 6:   //  Microsoft.Xaml.Interactivity.Interaction
                userType = new global::App5.App5_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Object"));
                userType.AddMemberName("Behaviors");
                xamlType = userType;
                break;

            case 7:   //  Microsoft.Xaml.Interactivity.BehaviorCollection
                userType = new global::App5.App5_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.DependencyObjectCollection"));
                userType.CollectionAdd = VectorAdd_7_BehaviorCollection;
                userType.SetIsReturnTypeStub();
                xamlType = userType;
                break;

            case 8:   //  Windows.UI.Xaml.DependencyObjectCollection
                xamlType = new global::App5.App5_XamlTypeInfo.XamlSystemBaseType(typeName, type);
                break;

            case 9:   //  Windows.UI.Xaml.DependencyObject
                xamlType = new global::App5.App5_XamlTypeInfo.XamlSystemBaseType(typeName, type);
                break;

            case 10:   //  App5.Helpers.NavHelper
                userType           = new global::App5.App5_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Object"));
                userType.Activator = Activate_10_NavHelper;
                userType.AddMemberName("NavigateTo");
                userType.SetIsLocalType();
                xamlType = userType;
                break;

            case 11:   //  System.Type
                userType = new global::App5.App5_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("System.Reflection.MemberInfo"));
                userType.SetIsReturnTypeStub();
                xamlType = userType;
                break;

            case 12:   //  System.Reflection.MemberInfo
                userType = new global::App5.App5_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Object"));
                xamlType = userType;
                break;

            case 13:   //  Windows.UI.Xaml.Controls.NavigationViewItem
                xamlType = new global::App5.App5_XamlTypeInfo.XamlSystemBaseType(typeName, type);
                break;

            case 14:   //  Microsoft.Xaml.Interactions.Core.EventTriggerBehavior
                userType           = new global::App5.App5_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Microsoft.Xaml.Interactivity.Trigger"));
                userType.Activator = Activate_14_EventTriggerBehavior;
                userType.SetContentPropertyName("Microsoft.Xaml.Interactivity.Trigger.Actions");
                userType.AddMemberName("EventName");
                userType.AddMemberName("SourceObject");
                xamlType = userType;
                break;

            case 15:   //  Microsoft.Xaml.Interactivity.Trigger
                userType = new global::App5.App5_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Microsoft.Xaml.Interactivity.Behavior"));
                userType.SetContentPropertyName("Microsoft.Xaml.Interactivity.Trigger.Actions");
                userType.AddMemberName("Actions");
                xamlType = userType;
                break;

            case 16:   //  Microsoft.Xaml.Interactivity.Behavior
                userType = new global::App5.App5_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.DependencyObject"));
                userType.AddMemberName("AssociatedObject");
                xamlType = userType;
                break;

            case 17:   //  Microsoft.Xaml.Interactivity.ActionCollection
                userType = new global::App5.App5_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.DependencyObjectCollection"));
                userType.CollectionAdd = VectorAdd_17_ActionCollection;
                userType.SetIsReturnTypeStub();
                xamlType = userType;
                break;

            case 18:   //  String
                xamlType = new global::App5.App5_XamlTypeInfo.XamlSystemBaseType(typeName, type);
                break;

            case 19:   //  Microsoft.Xaml.Interactions.Core.InvokeCommandAction
                userType           = new global::App5.App5_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.DependencyObject"));
                userType.Activator = Activate_19_InvokeCommandAction;
                userType.AddMemberName("Command");
                userType.AddMemberName("CommandParameter");
                userType.AddMemberName("InputConverter");
                userType.AddMemberName("InputConverterParameter");
                userType.AddMemberName("InputConverterLanguage");
                xamlType = userType;
                break;

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

            case 21:   //  Windows.UI.Xaml.Data.IValueConverter
                xamlType = new global::App5.App5_XamlTypeInfo.XamlSystemBaseType(typeName, type);
                break;

            case 22:   //  App5.Views.ShellPage
                userType           = new global::App5.App5_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.Page"));
                userType.Activator = Activate_22_ShellPage;
                userType.AddMemberName("ViewModel");
                userType.SetIsLocalType();
                xamlType = userType;
                break;

            case 23:   //  App5.ViewModels.ShellViewModel
                userType = new global::App5.App5_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("App5.Helpers.Observable"));
                userType.SetIsReturnTypeStub();
                userType.SetIsLocalType();
                xamlType = userType;
                break;
            }
            return(xamlType);
        }
Esempio n. 3
0
        private global::Windows.UI.Xaml.Markup.IXamlType CreateXamlType(int typeIndex)
        {
            global::App5.App5_XamlTypeInfo.XamlSystemBaseType xamlType = null;
            global::App5.App5_XamlTypeInfo.XamlUserType userType;
            string typeName = _typeNameTable[typeIndex];
            global::System.Type type = _typeTable[typeIndex];

            switch (typeIndex)
            {

            case 0:   //  App5.MainPage
                userType = new global::App5.App5_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.Page"));
                userType.Activator = Activate_0_MainPage;
                userType.AddMemberName("AzureMode");
                userType.AddMemberName("internetConnected");
                userType.SetIsLocalType();
                xamlType = userType;
                break;

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

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

            case 3:   //  String
                xamlType = new global::App5.App5_XamlTypeInfo.XamlSystemBaseType(typeName, type);
                break;
            }
            return xamlType;
        }
Esempio n. 4
0
        private global::Windows.UI.Xaml.Markup.IXamlType CreateXamlType(int typeIndex)
        {
            global::App5.App5_XamlTypeInfo.XamlSystemBaseType xamlType = null;
            global::App5.App5_XamlTypeInfo.XamlUserType       userType;
            string typeName = _typeNameTable[typeIndex];

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

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

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

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

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

            case 4:   //  System.Collections.ObjectModel.Collection`1<App5.RootObject>
                userType               = new global::App5.App5_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::App5.App5_XamlTypeInfo.XamlSystemBaseType(typeName, type);
                break;

            case 6:   //  App5.RootObject
                userType           = new global::App5.App5_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Object"));
                userType.Activator = Activate_6_RootObject;
                userType.AddMemberName("videoId");
                userType.AddMemberName("name");
                userType.AddMemberName("description");
                userType.AddMemberName("keywords");
                userType.AddMemberName("category");
                userType.AddMemberName("genre");
                userType.AddMemberName("authorName");
                userType.AddMemberName("authorEmail");
                userType.AddMemberName("birthday");
                userType.SetIsLocalType();
                xamlType = userType;
                break;

            case 7:   //  String
                xamlType = new global::App5.App5_XamlTypeInfo.XamlSystemBaseType(typeName, type);
                break;
            }
            return(xamlType);
        }