C# Class BlogEngine.Core.Json.JsonBlogs

List of blogs
Afficher le fichier Open project: rasmuskl/ReSharperCourse

Méthodes publiques

Méthode Description
CreateJsonBlog ( Blog b ) : JsonBlog
GetBlogs ( int page, int pageSize ) : List

Gets blog list based on selection for current page

GetPager ( int page, int pageSize ) : string

Builds pager control for blogs page

Method Details

CreateJsonBlog() public static méthode

public static CreateJsonBlog ( Blog b ) : JsonBlog
b Blog
Résultat JsonBlog

GetBlogs() public static méthode

Gets blog list based on selection for current page
public static GetBlogs ( int page, int pageSize ) : List
page int Current page
pageSize int Page Size
Résultat List

GetPager() public static méthode

Builds pager control for blogs page
public static GetPager ( int page, int pageSize ) : string
page int Current Page Number
pageSize int Page Size
Résultat string