예제 #1
0
 internal static XmlRpcUserBlog UserBlog(UserBlog input)
 {
     return(new XmlRpcUserBlog
     {
         blogid = input.BlogId,
         blogName = input.BlogName,
         isAdmin = input.IsAdmin,
         url = input.URL,
         xmlrpc = input.XMLRpc
     });
 }
예제 #2
0
            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);
            }