// Token: 0x060003B8 RID: 952 RVA: 0x000187EC File Offset: 0x000169EC
        public static List <BlogItemDAL> GetBlogItems(RssBlogItems rssBlogs)
        {
            List <BlogItemDAL> list = new List <BlogItemDAL>();

            foreach (RssBlogItem rssBlog in rssBlogs.ItemList)
            {
                list.Add(ProductBlogSvcWrapper.GetBlogItem(rssBlog));
            }
            return(list);
        }
        public static void CheckOrionProductTeamBlog()
        {
            HttpWebResponse httpWebResponse = WebRequestHelper.SendHttpWebRequest(BusinessLayerSettings.Instance.OrionProductTeamBlogUrl);

            if (httpWebResponse == null)
            {
                return;
            }
            using (StreamReader streamReader = new StreamReader(httpWebResponse.GetResponseStream()))
                BlogItemDAL.StoreBlogItems(ProductBlogSvcWrapper.GetBlogItems((RssBlogItems) new XmlSerializer(typeof(RssBlogItems)).Deserialize((TextReader)streamReader)), Convert.ToInt32(SettingsDAL.Get("ProductsBlog-StoredPostsCount")));
        }
        public static List <BlogItemDAL> GetBlogItems(RssBlogItems rssBlogs)
        {
            List <BlogItemDAL> blogItemDalList = new List <BlogItemDAL>();

            using (List <RssBlogItem> .Enumerator enumerator = ((List <RssBlogItem>)rssBlogs.ItemList).GetEnumerator())
            {
                while (enumerator.MoveNext())
                {
                    RssBlogItem current = enumerator.Current;
                    blogItemDalList.Add(ProductBlogSvcWrapper.GetBlogItem(current));
                }
            }
            return(blogItemDalList);
        }