C# Class SimpleFeedReader.FeedReader

Retrieves SyndicationFeeds and normalizes the items from the feed into FeedItems.
ファイルを表示 Open project: RobThree/SimpleFeedReader Class Usage Examples

Public Methods

Method Description
FeedReader ( ) : System

Initializes a new instance of the FeedReader class.

FeedReader ( IFeedItemNormalizer defaultFeedItemNormalizer ) : System

Initializes a new instance of the FeedReader class.

FeedReader ( IFeedItemNormalizer defaultFeedItemNormalizer, bool throwOnError ) : System

Initializes a new instance of the FeedReader class.

FeedReader ( bool throwOnError ) : System

Initializes a new instance of the FeedReader class.

RetrieveFeed ( XmlReader xmlReader ) : IEnumerable

Retrieves the specified feed.

RetrieveFeed ( XmlReader xmlReader, IFeedItemNormalizer normalizer ) : IEnumerable

Retrieves the specified feed.

RetrieveFeed ( string uri ) : IEnumerable

Retrieves the specified feed.

RetrieveFeed ( string uri, IFeedItemNormalizer normalizer ) : IEnumerable

Retrieves the specified feed.

RetrieveFeeds ( IEnumerable uris ) : IEnumerable

Retrieves the specified feeds.

This is a convenience method.

RetrieveFeeds ( IEnumerable uris, IFeedItemNormalizer normalizer ) : IEnumerable

Retrieves the specified feeds.

This is a convenience method.

Method Details

FeedReader() public method

Initializes a new instance of the FeedReader class.
public FeedReader ( ) : System
return System

FeedReader() public method

Initializes a new instance of the FeedReader class.
public FeedReader ( IFeedItemNormalizer defaultFeedItemNormalizer ) : System
defaultFeedItemNormalizer IFeedItemNormalizer /// The to use when normalizing s. ///
return System

FeedReader() public method

Initializes a new instance of the FeedReader class.
public FeedReader ( IFeedItemNormalizer defaultFeedItemNormalizer, bool throwOnError ) : System
defaultFeedItemNormalizer IFeedItemNormalizer /// The to use when normalizing s. ///
throwOnError bool /// When true, the will throw on errors, when false the will /// suppress exceptions and return empty results. ///
return System

FeedReader() public method

Initializes a new instance of the FeedReader class.
public FeedReader ( bool throwOnError ) : System
throwOnError bool /// When true, the will throw on errors, when false the will /// suppress exceptions and return empty results. ///
return System

RetrieveFeed() public method

Retrieves the specified feed.
public RetrieveFeed ( XmlReader xmlReader ) : IEnumerable
xmlReader System.Xml.XmlReader The to use to read the items from.
return IEnumerable

RetrieveFeed() public method

Retrieves the specified feed.
public RetrieveFeed ( XmlReader xmlReader, IFeedItemNormalizer normalizer ) : IEnumerable
xmlReader System.Xml.XmlReader The to use to read the items from.
normalizer IFeedItemNormalizer /// The to use when normalizing s. ///
return IEnumerable

RetrieveFeed() public method

Retrieves the specified feed.
public RetrieveFeed ( string uri ) : IEnumerable
uri string The uri of the feed to retrieve.
return IEnumerable

RetrieveFeed() public method

Retrieves the specified feed.
public RetrieveFeed ( string uri, IFeedItemNormalizer normalizer ) : IEnumerable
uri string The uri of the feed to retrieve.
normalizer IFeedItemNormalizer /// The to use when normalizing s. ///
return IEnumerable

RetrieveFeeds() public method

Retrieves the specified feeds.
This is a convenience method.
public RetrieveFeeds ( IEnumerable uris ) : IEnumerable
uris IEnumerable The uri's of the feeds to retrieve.
return IEnumerable

RetrieveFeeds() public method

Retrieves the specified feeds.
This is a convenience method.
public RetrieveFeeds ( IEnumerable uris, IFeedItemNormalizer normalizer ) : IEnumerable
uris IEnumerable The uri's of the feeds to retrieve.
normalizer IFeedItemNormalizer /// The to use when normalizing s. ///
return IEnumerable