상속: 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();
            //}
        }