C# 클래스 Daniel15.Web.Controllers.FeedController

Handles rendering various feeds
상속: Microsoft.AspNetCore.Mvc.Controller
파일 보기 프로젝트 열기: Daniel15/Website

공개 메소드들

메소드 설명
FeedController ( IBlogRepository blogRepository, IProjectRepository projectRepository, ISiteConfiguration siteConfig, IUrlShortener urlShortener ) : System.Collections.Generic

Initializes a new instance of the FeedController class.

비공개 메소드들

메소드 설명
BlogCategory ( string slug, string parentSlug = null ) : Microsoft.AspNetCore.Mvc.ActionResult
BlogLatest ( ) : Microsoft.AspNetCore.Mvc.ActionResult
RenderFeed ( IList posts, Daniel15.Web.ViewModels.Blog.FeedViewModel model ) : Microsoft.AspNetCore.Mvc.ActionResult

Renders the specified list of posts to an RSS feed

ShortUrl ( PostModel post ) : string

Gets the short URL for this blog post

Sitemap ( ) : Microsoft.AspNetCore.Mvc.ActionResult

메소드 상세

FeedController() 공개 메소드

Initializes a new instance of the FeedController class.
public FeedController ( IBlogRepository blogRepository, IProjectRepository projectRepository, ISiteConfiguration siteConfig, IUrlShortener urlShortener ) : System.Collections.Generic
blogRepository IBlogRepository The blog repository.
projectRepository IProjectRepository Project repository
siteConfig ISiteConfiguration Site configuration
urlShortener IUrlShortener URL shortener
리턴 System.Collections.Generic