Esempio n. 1
0
 /// <summary>
 /// reads a feed from the bytearray <paramref name="feedContent"/>
 /// This could be useful if some special encoding is used.
 /// </summary>
 /// <param name="feedContent"></param>
 /// <returns></returns>
 public static Feed ReadFromByteArray(byte[] feedContent)
 {
     return(FeedParser.GetFeed(feedContent));
 }
Esempio n. 2
0
 /// <summary>
 /// reads a feed from the <paramref name="feedContent" />
 /// </summary>
 /// <param name="feedContent">the feed content (xml)</param>
 /// <returns>parsed feed</returns>
 public static Feed ReadFromString(string feedContent)
 {
     return(FeedParser.GetFeed(feedContent));
 }
Esempio n. 3
0
        /// <summary>
        /// reads a feed from the <paramref name="feedContent" />
        /// </summary>
        /// <param name="feedContent">the feed content (xml)</param>
        /// <returns>parsed feed</returns>
        public static Feed ReadFromString(string feedContent)
        {
            var feed = FeedParser.GetFeed(feedContent);

            return(feed);
        }