示例#1
0
 private global::Windows.UI.Xaml.Markup.IXamlMember CreateXamlMember(string longMemberName)
 {
     global::UAChatDemo.UAChatDemo_XamlTypeInfo.XamlMember xamlMember = null;
     // No Local Properties
     return(xamlMember);
 }
示例#2
0
        private global::Windows.UI.Xaml.Markup.IXamlMember CreateXamlMember(string longMemberName)
        {
            global::UAChatDemo.UAChatDemo_XamlTypeInfo.XamlMember   xamlMember = null;
            global::UAChatDemo.UAChatDemo_XamlTypeInfo.XamlUserType userType;

            switch (longMemberName)
            {
            case "UAChatDemo.MainPage.HistoryList":
                userType          = (global::UAChatDemo.UAChatDemo_XamlTypeInfo.XamlUserType)GetXamlTypeByName("UAChatDemo.MainPage");
                xamlMember        = new global::UAChatDemo.UAChatDemo_XamlTypeInfo.XamlMember(this, "HistoryList", "System.Collections.ObjectModel.ObservableCollection`1<UAChatDemo.Models.History>");
                xamlMember.Getter = get_0_MainPage_HistoryList;
                xamlMember.Setter = set_0_MainPage_HistoryList;
                break;

            case "UAChatDemo.Models.History.Id":
                userType          = (global::UAChatDemo.UAChatDemo_XamlTypeInfo.XamlUserType)GetXamlTypeByName("UAChatDemo.Models.History");
                xamlMember        = new global::UAChatDemo.UAChatDemo_XamlTypeInfo.XamlMember(this, "Id", "String");
                xamlMember.Getter = get_1_History_Id;
                xamlMember.Setter = set_1_History_Id;
                break;

            case "UAChatDemo.Models.History.Content":
                userType          = (global::UAChatDemo.UAChatDemo_XamlTypeInfo.XamlUserType)GetXamlTypeByName("UAChatDemo.Models.History");
                xamlMember        = new global::UAChatDemo.UAChatDemo_XamlTypeInfo.XamlMember(this, "Content", "String");
                xamlMember.Getter = get_2_History_Content;
                xamlMember.Setter = set_2_History_Content;
                break;

            case "UAChatDemo.Models.History.Lasttime":
                userType          = (global::UAChatDemo.UAChatDemo_XamlTypeInfo.XamlUserType)GetXamlTypeByName("UAChatDemo.Models.History");
                xamlMember        = new global::UAChatDemo.UAChatDemo_XamlTypeInfo.XamlMember(this, "Lasttime", "String");
                xamlMember.Getter = get_3_History_Lasttime;
                xamlMember.Setter = set_3_History_Lasttime;
                break;

            case "UAChatDemo.Models.History.Type":
                userType          = (global::UAChatDemo.UAChatDemo_XamlTypeInfo.XamlUserType)GetXamlTypeByName("UAChatDemo.Models.History");
                xamlMember        = new global::UAChatDemo.UAChatDemo_XamlTypeInfo.XamlMember(this, "Type", "Int32");
                xamlMember.Getter = get_4_History_Type;
                xamlMember.Setter = set_4_History_Type;
                break;

            case "UAChatDemo.Models.History.UserName":
                userType          = (global::UAChatDemo.UAChatDemo_XamlTypeInfo.XamlUserType)GetXamlTypeByName("UAChatDemo.Models.History");
                xamlMember        = new global::UAChatDemo.UAChatDemo_XamlTypeInfo.XamlMember(this, "UserName", "String");
                xamlMember.Getter = get_5_History_UserName;
                xamlMember.Setter = set_5_History_UserName;
                break;

            case "UAChatDemo.Models.History.UserId":
                userType          = (global::UAChatDemo.UAChatDemo_XamlTypeInfo.XamlUserType)GetXamlTypeByName("UAChatDemo.Models.History");
                xamlMember        = new global::UAChatDemo.UAChatDemo_XamlTypeInfo.XamlMember(this, "UserId", "String");
                xamlMember.Getter = get_6_History_UserId;
                xamlMember.Setter = set_6_History_UserId;
                break;

            case "UAChatDemo.Models.History.Readed":
                userType          = (global::UAChatDemo.UAChatDemo_XamlTypeInfo.XamlUserType)GetXamlTypeByName("UAChatDemo.Models.History");
                xamlMember        = new global::UAChatDemo.UAChatDemo_XamlTypeInfo.XamlMember(this, "Readed", "Boolean");
                xamlMember.Getter = get_7_History_Readed;
                xamlMember.Setter = set_7_History_Readed;
                break;

            case "UAChatDemo.Models.History.IsMe":
                userType          = (global::UAChatDemo.UAChatDemo_XamlTypeInfo.XamlUserType)GetXamlTypeByName("UAChatDemo.Models.History");
                xamlMember        = new global::UAChatDemo.UAChatDemo_XamlTypeInfo.XamlMember(this, "IsMe", "Boolean");
                xamlMember.Getter = get_8_History_IsMe;
                xamlMember.Setter = set_8_History_IsMe;
                break;

            case "UAChatDemo.Models.History.IsOnline":
                userType          = (global::UAChatDemo.UAChatDemo_XamlTypeInfo.XamlUserType)GetXamlTypeByName("UAChatDemo.Models.History");
                xamlMember        = new global::UAChatDemo.UAChatDemo_XamlTypeInfo.XamlMember(this, "IsOnline", "Boolean");
                xamlMember.Getter = get_9_History_IsOnline;
                xamlMember.Setter = set_9_History_IsOnline;
                break;

            case "UAChatDemo.Models.History.Avatar":
                userType          = (global::UAChatDemo.UAChatDemo_XamlTypeInfo.XamlUserType)GetXamlTypeByName("UAChatDemo.Models.History");
                xamlMember        = new global::UAChatDemo.UAChatDemo_XamlTypeInfo.XamlMember(this, "Avatar", "String");
                xamlMember.Getter = get_10_History_Avatar;
                xamlMember.Setter = set_10_History_Avatar;
                break;

            case "UAChatDemo.Private.item":
                userType          = (global::UAChatDemo.UAChatDemo_XamlTypeInfo.XamlUserType)GetXamlTypeByName("UAChatDemo.Private");
                xamlMember        = new global::UAChatDemo.UAChatDemo_XamlTypeInfo.XamlMember(this, "item", "UAChatDemo.Models.History");
                xamlMember.Getter = get_11_Private_item;
                xamlMember.Setter = set_11_Private_item;
                break;

            case "UAChatDemo.Private.MessagesList":
                userType          = (global::UAChatDemo.UAChatDemo_XamlTypeInfo.XamlUserType)GetXamlTypeByName("UAChatDemo.Private");
                xamlMember        = new global::UAChatDemo.UAChatDemo_XamlTypeInfo.XamlMember(this, "MessagesList", "System.Collections.ObjectModel.ObservableCollection`1<UAChatDemo.Models.Messages>");
                xamlMember.Getter = get_12_Private_MessagesList;
                xamlMember.Setter = set_12_Private_MessagesList;
                break;

            case "UAChatDemo.Models.Messages.MyProperty":
                userType          = (global::UAChatDemo.UAChatDemo_XamlTypeInfo.XamlUserType)GetXamlTypeByName("UAChatDemo.Models.Messages");
                xamlMember        = new global::UAChatDemo.UAChatDemo_XamlTypeInfo.XamlMember(this, "MyProperty", "Int32");
                xamlMember.Getter = get_13_Messages_MyProperty;
                xamlMember.Setter = set_13_Messages_MyProperty;
                break;
            }
            return(xamlMember);
        }