Exemple #1
0
        private global::Windows.UI.Xaml.Markup.IXamlMember CreateXamlMember(string longMemberName)
        {
            global::App5.App5_XamlTypeInfo.XamlMember   xamlMember = null;
            global::App5.App5_XamlTypeInfo.XamlUserType userType;

            switch (longMemberName)
            {
            case "App5.Views.MainPage.ViewModel":
                userType          = (global::App5.App5_XamlTypeInfo.XamlUserType)GetXamlTypeByName("App5.Views.MainPage");
                xamlMember        = new global::App5.App5_XamlTypeInfo.XamlMember(this, "ViewModel", "App5.ViewModels.MainViewModel");
                xamlMember.Getter = get_0_MainPage_ViewModel;
                xamlMember.SetIsReadOnly();
                break;

            case "Microsoft.Xaml.Interactivity.Interaction.Behaviors":
                userType   = (global::App5.App5_XamlTypeInfo.XamlUserType)GetXamlTypeByName("Microsoft.Xaml.Interactivity.Interaction");
                xamlMember = new global::App5.App5_XamlTypeInfo.XamlMember(this, "Behaviors", "Microsoft.Xaml.Interactivity.BehaviorCollection");
                xamlMember.SetTargetTypeName("Windows.UI.Xaml.DependencyObject");
                xamlMember.SetIsAttachable();
                xamlMember.Getter = get_1_Interaction_Behaviors;
                xamlMember.Setter = set_1_Interaction_Behaviors;
                break;

            case "App5.Helpers.NavHelper.NavigateTo":
                userType   = (global::App5.App5_XamlTypeInfo.XamlUserType)GetXamlTypeByName("App5.Helpers.NavHelper");
                xamlMember = new global::App5.App5_XamlTypeInfo.XamlMember(this, "NavigateTo", "System.Type");
                xamlMember.SetTargetTypeName("Windows.UI.Xaml.Controls.NavigationViewItem");
                xamlMember.SetIsAttachable();
                xamlMember.Getter = get_2_NavHelper_NavigateTo;
                xamlMember.Setter = set_2_NavHelper_NavigateTo;
                break;

            case "Microsoft.Xaml.Interactivity.Trigger.Actions":
                userType   = (global::App5.App5_XamlTypeInfo.XamlUserType)GetXamlTypeByName("Microsoft.Xaml.Interactivity.Trigger");
                xamlMember = new global::App5.App5_XamlTypeInfo.XamlMember(this, "Actions", "Microsoft.Xaml.Interactivity.ActionCollection");
                xamlMember.SetIsDependencyProperty();
                xamlMember.Getter = get_3_Trigger_Actions;
                xamlMember.SetIsReadOnly();
                break;

            case "Microsoft.Xaml.Interactions.Core.EventTriggerBehavior.EventName":
                userType   = (global::App5.App5_XamlTypeInfo.XamlUserType)GetXamlTypeByName("Microsoft.Xaml.Interactions.Core.EventTriggerBehavior");
                xamlMember = new global::App5.App5_XamlTypeInfo.XamlMember(this, "EventName", "String");
                xamlMember.SetIsDependencyProperty();
                xamlMember.Getter = get_4_EventTriggerBehavior_EventName;
                xamlMember.Setter = set_4_EventTriggerBehavior_EventName;
                break;

            case "Microsoft.Xaml.Interactions.Core.EventTriggerBehavior.SourceObject":
                userType   = (global::App5.App5_XamlTypeInfo.XamlUserType)GetXamlTypeByName("Microsoft.Xaml.Interactions.Core.EventTriggerBehavior");
                xamlMember = new global::App5.App5_XamlTypeInfo.XamlMember(this, "SourceObject", "Object");
                xamlMember.SetIsDependencyProperty();
                xamlMember.Getter = get_5_EventTriggerBehavior_SourceObject;
                xamlMember.Setter = set_5_EventTriggerBehavior_SourceObject;
                break;

            case "Microsoft.Xaml.Interactivity.Behavior.AssociatedObject":
                userType          = (global::App5.App5_XamlTypeInfo.XamlUserType)GetXamlTypeByName("Microsoft.Xaml.Interactivity.Behavior");
                xamlMember        = new global::App5.App5_XamlTypeInfo.XamlMember(this, "AssociatedObject", "Windows.UI.Xaml.DependencyObject");
                xamlMember.Getter = get_6_Behavior_AssociatedObject;
                xamlMember.SetIsReadOnly();
                break;

            case "Microsoft.Xaml.Interactions.Core.InvokeCommandAction.Command":
                userType   = (global::App5.App5_XamlTypeInfo.XamlUserType)GetXamlTypeByName("Microsoft.Xaml.Interactions.Core.InvokeCommandAction");
                xamlMember = new global::App5.App5_XamlTypeInfo.XamlMember(this, "Command", "System.Windows.Input.ICommand");
                xamlMember.SetIsDependencyProperty();
                xamlMember.Getter = get_7_InvokeCommandAction_Command;
                xamlMember.Setter = set_7_InvokeCommandAction_Command;
                break;

            case "Microsoft.Xaml.Interactions.Core.InvokeCommandAction.CommandParameter":
                userType   = (global::App5.App5_XamlTypeInfo.XamlUserType)GetXamlTypeByName("Microsoft.Xaml.Interactions.Core.InvokeCommandAction");
                xamlMember = new global::App5.App5_XamlTypeInfo.XamlMember(this, "CommandParameter", "Object");
                xamlMember.SetIsDependencyProperty();
                xamlMember.Getter = get_8_InvokeCommandAction_CommandParameter;
                xamlMember.Setter = set_8_InvokeCommandAction_CommandParameter;
                break;

            case "Microsoft.Xaml.Interactions.Core.InvokeCommandAction.InputConverter":
                userType   = (global::App5.App5_XamlTypeInfo.XamlUserType)GetXamlTypeByName("Microsoft.Xaml.Interactions.Core.InvokeCommandAction");
                xamlMember = new global::App5.App5_XamlTypeInfo.XamlMember(this, "InputConverter", "Windows.UI.Xaml.Data.IValueConverter");
                xamlMember.SetIsDependencyProperty();
                xamlMember.Getter = get_9_InvokeCommandAction_InputConverter;
                xamlMember.Setter = set_9_InvokeCommandAction_InputConverter;
                break;

            case "Microsoft.Xaml.Interactions.Core.InvokeCommandAction.InputConverterParameter":
                userType   = (global::App5.App5_XamlTypeInfo.XamlUserType)GetXamlTypeByName("Microsoft.Xaml.Interactions.Core.InvokeCommandAction");
                xamlMember = new global::App5.App5_XamlTypeInfo.XamlMember(this, "InputConverterParameter", "Object");
                xamlMember.SetIsDependencyProperty();
                xamlMember.Getter = get_10_InvokeCommandAction_InputConverterParameter;
                xamlMember.Setter = set_10_InvokeCommandAction_InputConverterParameter;
                break;

            case "Microsoft.Xaml.Interactions.Core.InvokeCommandAction.InputConverterLanguage":
                userType   = (global::App5.App5_XamlTypeInfo.XamlUserType)GetXamlTypeByName("Microsoft.Xaml.Interactions.Core.InvokeCommandAction");
                xamlMember = new global::App5.App5_XamlTypeInfo.XamlMember(this, "InputConverterLanguage", "String");
                xamlMember.SetIsDependencyProperty();
                xamlMember.Getter = get_11_InvokeCommandAction_InputConverterLanguage;
                xamlMember.Setter = set_11_InvokeCommandAction_InputConverterLanguage;
                break;

            case "App5.Views.ShellPage.ViewModel":
                userType          = (global::App5.App5_XamlTypeInfo.XamlUserType)GetXamlTypeByName("App5.Views.ShellPage");
                xamlMember        = new global::App5.App5_XamlTypeInfo.XamlMember(this, "ViewModel", "App5.ViewModels.ShellViewModel");
                xamlMember.Getter = get_12_ShellPage_ViewModel;
                xamlMember.SetIsReadOnly();
                break;
            }
            return(xamlMember);
        }
Exemple #2
0
 private global::Windows.UI.Xaml.Markup.IXamlMember CreateXamlMember(string longMemberName)
 {
     global::App5.App5_XamlTypeInfo.XamlMember xamlMember = null;
     // No Local Properties
     return(xamlMember);
 }
        private global::Windows.UI.Xaml.Markup.IXamlMember CreateXamlMember(string longMemberName)
        {
            global::App5.App5_XamlTypeInfo.XamlMember xamlMember = null;
            global::App5.App5_XamlTypeInfo.XamlUserType userType;

            switch (longMemberName)
            {
            case "App5.MainPage.AzureMode":
                userType = (global::App5.App5_XamlTypeInfo.XamlUserType)GetXamlTypeByName("App5.MainPage");
                xamlMember = new global::App5.App5_XamlTypeInfo.XamlMember(this, "AzureMode", "String");
                xamlMember.Getter = get_0_MainPage_AzureMode;
                xamlMember.SetIsReadOnly();
                break;
            case "App5.MainPage.internetConnected":
                userType = (global::App5.App5_XamlTypeInfo.XamlUserType)GetXamlTypeByName("App5.MainPage");
                xamlMember = new global::App5.App5_XamlTypeInfo.XamlMember(this, "internetConnected", "String");
                xamlMember.Getter = get_1_MainPage_internetConnected;
                xamlMember.SetIsReadOnly();
                break;
            }
            return xamlMember;
        }
Exemple #4
0
        private global::Windows.UI.Xaml.Markup.IXamlMember CreateXamlMember(string longMemberName)
        {
            global::App5.App5_XamlTypeInfo.XamlMember   xamlMember = null;
            global::App5.App5_XamlTypeInfo.XamlUserType userType;

            switch (longMemberName)
            {
            case "App5.MainPage.collection":
                userType          = (global::App5.App5_XamlTypeInfo.XamlUserType)GetXamlTypeByName("App5.MainPage");
                xamlMember        = new global::App5.App5_XamlTypeInfo.XamlMember(this, "collection", "System.Collections.ObjectModel.ObservableCollection`1<App5.RootObject>");
                xamlMember.Getter = get_0_MainPage_collection;
                xamlMember.Setter = set_0_MainPage_collection;
                break;

            case "App5.RootObject.videoId":
                userType          = (global::App5.App5_XamlTypeInfo.XamlUserType)GetXamlTypeByName("App5.RootObject");
                xamlMember        = new global::App5.App5_XamlTypeInfo.XamlMember(this, "videoId", "String");
                xamlMember.Getter = get_1_RootObject_videoId;
                xamlMember.Setter = set_1_RootObject_videoId;
                break;

            case "App5.RootObject.name":
                userType          = (global::App5.App5_XamlTypeInfo.XamlUserType)GetXamlTypeByName("App5.RootObject");
                xamlMember        = new global::App5.App5_XamlTypeInfo.XamlMember(this, "name", "String");
                xamlMember.Getter = get_2_RootObject_name;
                xamlMember.Setter = set_2_RootObject_name;
                break;

            case "App5.RootObject.description":
                userType          = (global::App5.App5_XamlTypeInfo.XamlUserType)GetXamlTypeByName("App5.RootObject");
                xamlMember        = new global::App5.App5_XamlTypeInfo.XamlMember(this, "description", "String");
                xamlMember.Getter = get_3_RootObject_description;
                xamlMember.Setter = set_3_RootObject_description;
                break;

            case "App5.RootObject.keywords":
                userType          = (global::App5.App5_XamlTypeInfo.XamlUserType)GetXamlTypeByName("App5.RootObject");
                xamlMember        = new global::App5.App5_XamlTypeInfo.XamlMember(this, "keywords", "String");
                xamlMember.Getter = get_4_RootObject_keywords;
                xamlMember.Setter = set_4_RootObject_keywords;
                break;

            case "App5.RootObject.category":
                userType          = (global::App5.App5_XamlTypeInfo.XamlUserType)GetXamlTypeByName("App5.RootObject");
                xamlMember        = new global::App5.App5_XamlTypeInfo.XamlMember(this, "category", "String");
                xamlMember.Getter = get_5_RootObject_category;
                xamlMember.Setter = set_5_RootObject_category;
                break;

            case "App5.RootObject.genre":
                userType          = (global::App5.App5_XamlTypeInfo.XamlUserType)GetXamlTypeByName("App5.RootObject");
                xamlMember        = new global::App5.App5_XamlTypeInfo.XamlMember(this, "genre", "String");
                xamlMember.Getter = get_6_RootObject_genre;
                xamlMember.Setter = set_6_RootObject_genre;
                break;

            case "App5.RootObject.authorName":
                userType          = (global::App5.App5_XamlTypeInfo.XamlUserType)GetXamlTypeByName("App5.RootObject");
                xamlMember        = new global::App5.App5_XamlTypeInfo.XamlMember(this, "authorName", "String");
                xamlMember.Getter = get_7_RootObject_authorName;
                xamlMember.Setter = set_7_RootObject_authorName;
                break;

            case "App5.RootObject.authorEmail":
                userType          = (global::App5.App5_XamlTypeInfo.XamlUserType)GetXamlTypeByName("App5.RootObject");
                xamlMember        = new global::App5.App5_XamlTypeInfo.XamlMember(this, "authorEmail", "String");
                xamlMember.Getter = get_8_RootObject_authorEmail;
                xamlMember.Setter = set_8_RootObject_authorEmail;
                break;

            case "App5.RootObject.birthday":
                userType          = (global::App5.App5_XamlTypeInfo.XamlUserType)GetXamlTypeByName("App5.RootObject");
                xamlMember        = new global::App5.App5_XamlTypeInfo.XamlMember(this, "birthday", "String");
                xamlMember.Getter = get_9_RootObject_birthday;
                xamlMember.Setter = set_9_RootObject_birthday;
                break;
            }
            return(xamlMember);
        }