C# 클래스 Cake.Web.Core.Content.Blog.BlogIndex

파일 보기 프로젝트 열기: cake-build/website 1 사용 예제들

공개 메소드들

메소드 설명
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