internal static XmlRpcUserBlog UserBlog(UserBlog input) { return(new XmlRpcUserBlog { blogid = input.BlogId, blogName = input.BlogName, isAdmin = input.IsAdmin, url = input.URL, xmlrpc = input.XMLRpc }); }
internal static UserBlog UserBlog(XmlRpcUserBlog input) { var result = new UserBlog { BlogName = input.blogName, IsAdmin = input.isAdmin, URL = input.url }; SetPrivateFieldValue("_userBlogID", input.blogId, result); return(result); }