示例#1
0
 internal static XmlRpcAuthor Author(Author input)
 {
     var content = new XmlRpcAuthor();
     content.display_name = input.DisplayName;
     content.user_email = input.EmailAddress;
     content.user_id = input.UserID;
     content.user_login = input.LoginName;
     return content;
 }
示例#2
0
 internal static Author Author(XmlRpcAuthor input)
 {
     return(new Author
     {
         DisplayName = input.display_name,
         EmailAddress = input.user_email,
         LoginName = input.user_login,
         UserID = input.user_id
     });
 }
示例#3
0
            internal static XmlRpcAuthor Author(Author input)
            {
                var content = new XmlRpcAuthor();

                content.display_name = input.DisplayName;
                content.user_email   = input.EmailAddress;
                content.user_id      = input.UserID;
                content.user_login   = input.LoginName;
                return(content);
            }
示例#4
0
 internal static Author Author(XmlRpcAuthor input)
 {
     return new Author
     {
         DisplayName = input.display_name,
         EmailAddress = input.user_email,
         LoginName = input.user_login,
         UserID = input.user_id
     };
 }