namespace SharedDATA.Context
{
using System.Collections.Generic;
///
/// Provides the interface(s) for paged list of any type.
/// 为任何类型的分页列表提供接口
///
/// The type for paging.分页的类型
public interface IPagedList
{
///
/// Gets the index start value.
/// 获取索引起始值
///
/// The index start value.
int IndexFrom { get; }
///
/// Gets the page index (current).
/// 获取页索引(当前)
///
int PageIndex { get; }
///
/// Gets the page size.
/// 获取页面大小
///
int PageSize { get; }
///
/// Gets the total count of the list of type
/// 获取类型列表的总计数
///
int TotalCount { get; }
///
/// Gets the total pages.
/// 获取页面总数
///
int TotalPages { get; }
///
/// Gets the current page items.
/// 获取当前页项
///
IList Items { get; }
///
/// Gets the has previous page.
/// 获取前一页
///
/// The has previous page.
bool HasPreviousPage { get; }
///
/// Gets the has next page.
/// 获取下一页
///
/// The has next page.
bool HasNextPage { get; }
}
}