C# Class Worki.Service.BlogService

Inheritance: IBlogService
Exibir arquivo Open project: tah91/eworkyWebSite

Public Methods

Method Description
BlogService ( ILogger logger ) : System
GetBlogCacheKey ( Culture culture ) : string
GetBlogPosts ( Culture culture ) : IEnumerable
GetBlogUrl ( Culture culture ) : string

Private Methods

Method Description
ExtractImage ( string html ) : string
GetFrBlogPosts ( ) : IEnumerable
GetTumblrBlogPosts ( string tumblr ) : IEnumerable

Method Details

BlogService() public method

public BlogService ( ILogger logger ) : System
logger ILogger
return System

GetBlogCacheKey() public static method

public static GetBlogCacheKey ( Culture culture ) : string
culture Culture
return string

GetBlogPosts() public method

public GetBlogPosts ( Culture culture ) : IEnumerable
culture Culture
return IEnumerable

GetBlogUrl() public static method

public static GetBlogUrl ( Culture culture ) : string
culture Culture
return string