C# Класс Daniel15.Web.Controllers.FeedController

Handles rendering various feeds
Наследование: Microsoft.AspNetCore.Mvc.Controller
Показать файл Открыть проект

Открытые методы

Метод Описание
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