Inheritance: HotFeedsContentBase, IFeeds
        public void GetAttributes(JObject feedsJObject)
        {
            if (feedsJObject["id"] != null)
            {
                JWZXFeeds j = new JWZXFeeds();
                j.GetAttributes(feedsJObject);
                contentbase = j;
            }
            else
                content = feedsJObject["content"].ToString();

            //try
            //{
            //    JWZXFeeds j = new JWZXFeeds();
            //    j.GetAttributes(feedsJObject);
            //    contentbase = j;
            //}
            //catch (Exception)
            //{
            //    content = feedsJObject["content"].ToString();
            //}
        }
示例#2
0
        public void GetAttributes(JObject feedsJObject)
        {
            if (feedsJObject["id"] != null)
            {
                JWZXFeeds j = new JWZXFeeds();
                j.GetAttributes(feedsJObject);
                contentbase = j;
            }
            else
            {
                content = feedsJObject["content"].ToString();
            }

            //try
            //{
            //    JWZXFeeds j = new JWZXFeeds();
            //    j.GetAttributes(feedsJObject);
            //    contentbase = j;
            //}
            //catch (Exception)
            //{
            //    content = feedsJObject["content"].ToString();
            //}
        }