C# Класс Cake.Web.Core.Content.Blog.BlogIndex

Показать файл Открыть проект Примеры использования класса

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

Метод Описание
BlogIndex ( IEnumerable posts ) : System
GetArchive ( ) : IReadOnlyList
GetAuthors ( ) : IReadOnlyList
GetBlogPost ( int year, int month, string slug ) : Cake.Web.Core.Content.Blog.BlogPost
GetBlogPosts ( ) : IReadOnlyList
GetBlogPosts ( string category, string author, int year, int month ) : IReadOnlyList
GetBlogPostsByAuthor ( string author ) : IReadOnlyList
GetBlogPostsByCategory ( string category ) : IReadOnlyList
GetBlogPostsByYearAndMonth ( int year, int month ) : IReadOnlyList
GetCategories ( ) : IReadOnlyList

Приватные методы

Метод Описание
AddToArchive ( Cake.Web.Core.Content.Blog.BlogPost post ) : void
AddToLookup ( Cake.Web.Core.Content.Blog.BlogPost post ) : void

Описание методов

BlogIndex() публичный Метод

public BlogIndex ( IEnumerable posts ) : System
posts IEnumerable
Результат System

GetArchive() публичный Метод

public GetArchive ( ) : IReadOnlyList
Результат IReadOnlyList

GetAuthors() публичный Метод

public GetAuthors ( ) : IReadOnlyList
Результат IReadOnlyList

GetBlogPost() публичный Метод

public GetBlogPost ( int year, int month, string slug ) : Cake.Web.Core.Content.Blog.BlogPost
year int
month int
slug string
Результат Cake.Web.Core.Content.Blog.BlogPost

GetBlogPosts() публичный Метод

public GetBlogPosts ( ) : IReadOnlyList
Результат IReadOnlyList

GetBlogPosts() публичный Метод

public GetBlogPosts ( string category, string author, int year, int month ) : IReadOnlyList
category string
author string
year int
month int
Результат IReadOnlyList

GetBlogPostsByAuthor() публичный Метод

public GetBlogPostsByAuthor ( string author ) : IReadOnlyList
author string
Результат IReadOnlyList

GetBlogPostsByCategory() публичный Метод

public GetBlogPostsByCategory ( string category ) : IReadOnlyList
category string
Результат IReadOnlyList

GetBlogPostsByYearAndMonth() публичный Метод

public GetBlogPostsByYearAndMonth ( int year, int month ) : IReadOnlyList
year int
month int
Результат IReadOnlyList

GetCategories() публичный Метод

public GetCategories ( ) : IReadOnlyList
Результат IReadOnlyList