using System.Collections.Generic; namespace Infrastructure.Application { public interface IPagedList { int DefaultPageSize { get; set; } int PageIndex { get; set; } int PageSize { get; set; } int TotalCount { get; set; } IEnumerable GetPageIndexs(); int[] GetPageSizes(); bool HasNext(); bool HasPrev(); int PageCount(); } }