C# Class Nancy.Blog.Services.CachedFeedService

Inheritance: IFeedService
Show file Open project: NancyFx/Nancy.Blog

Public Methods

Method Description
CachedFeedService ( IConfigSettings configSettings, IRootPathProvider rootPathProvider ) : System
GetItem ( string link ) : BlogPost
GetItems ( int feedCount = 10, int pagenum ) : IEnumerable

Private Methods

Method Description
FeedCategoryInNancyCategories ( System.ServiceModel.Syndication.SyndicationCategory category ) : bool
GetFeed ( string url, string id, SyndicationFeed>.List syndicationFeeds ) : void
GetItemsForCache ( int feedCount, int pagenum ) : IEnumerable
GetSyndicationFeeds ( IEnumerable metadataEntries ) : SyndicationFeed>>.IEnumerable

Method Details

CachedFeedService() public method

public CachedFeedService ( IConfigSettings configSettings, IRootPathProvider rootPathProvider ) : System
configSettings IConfigSettings
rootPathProvider IRootPathProvider
return System

GetItem() public method

public GetItem ( string link ) : BlogPost
link string
return BlogPost

GetItems() public method

public GetItems ( int feedCount = 10, int pagenum ) : IEnumerable
feedCount int
pagenum int
return IEnumerable