Пример #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
     };
 }