C# Class Github.BlogEngine.Repositories.PostRepository

Inheritance: IPostRepository
Afficher le fichier Open project: alexbeletsky/beerncode Class Usage Examples

Private Properties

Свойство Type Description

Méthodes publiques

Méthode Description
GetAllPosts ( ) : IList
GetPagedPosts ( int page, int pageSize ) : IEnumerable
GetPost ( string path, string treeSha ) : Post
GetPostBySha ( string sha ) : Post
GetPostByUrl ( string url ) : Post

Method Details

GetAllPosts() public méthode

public GetAllPosts ( ) : IList
Résultat IList

GetPagedPosts() public méthode

public GetPagedPosts ( int page, int pageSize ) : IEnumerable
page int
pageSize int
Résultat IEnumerable

GetPost() public méthode

public GetPost ( string path, string treeSha ) : Post
path string
treeSha string
Résultat Github.BlogEngine.Models.Post

GetPostBySha() public méthode

public GetPostBySha ( string sha ) : Post
sha string
Résultat Github.BlogEngine.Models.Post

GetPostByUrl() public méthode

public GetPostByUrl ( string url ) : Post
url string
Résultat Github.BlogEngine.Models.Post