C# 클래스 Github.BlogEngine.Repositories.PostRepository

상속: IPostRepository
파일 보기 프로젝트 열기: alexbeletsky/beerncode 1 사용 예제들

Private Properties

프로퍼티 타입 설명

공개 메소드들

메소드 설명
GetAllPosts ( ) : IList
GetPagedPosts ( int page, int pageSize ) : IEnumerable
GetPost ( string path, string treeSha ) : Post
GetPostBySha ( string sha ) : Post
GetPostByUrl ( string url ) : Post

메소드 상세

GetAllPosts() 공개 메소드

public GetAllPosts ( ) : IList
리턴 IList

GetPagedPosts() 공개 메소드

public GetPagedPosts ( int page, int pageSize ) : IEnumerable
page int
pageSize int
리턴 IEnumerable

GetPost() 공개 메소드

public GetPost ( string path, string treeSha ) : Post
path string
treeSha string
리턴 Github.BlogEngine.Models.Post

GetPostBySha() 공개 메소드

public GetPostBySha ( string sha ) : Post
sha string
리턴 Github.BlogEngine.Models.Post

GetPostByUrl() 공개 메소드

public GetPostByUrl ( string url ) : Post
url string
리턴 Github.BlogEngine.Models.Post