コード例 #1
0
        public BlogInfoStruct GetStructFromBlog(ProjectSettings blog, string blogUrl)
        {
            BlogInfoStruct b = new BlogInfoStruct();

            b.blogId   = blog.Id;
            b.blogName = blog.Title;
            b.url      = blogUrl;

            return(b);
        }
コード例 #2
0
        public BlogInfoStruct GetStructFromBlog(IProjectSettings blog, string blogUrl)
        {
            BlogInfoStruct b = new BlogInfoStruct
            {
                blogId   = blog.Id,
                blogName = blog.Title,
                url      = blogUrl
            };

            return(b);
        }