public BlogInfoStruct GetStructFromBlog(ProjectSettings blog, string blogUrl) { BlogInfoStruct b = new BlogInfoStruct(); b.blogId = blog.Id; b.blogName = blog.Title; b.url = blogUrl; return(b); }
public BlogInfoStruct GetStructFromBlog(IProjectSettings blog, string blogUrl) { BlogInfoStruct b = new BlogInfoStruct { blogId = blog.Id, blogName = blog.Title, url = blogUrl }; return(b); }