C# Класс Github.BlogEngine.Repositories.PostRepository

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

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