Browse files

Added non-generic IPagedList for convenience.

  • Loading branch information...
1 parent 5e75654 commit 28ead8d33ea1025cc9b980b0f92feaec8fffa1b1 @martijnboland committed Mar 22, 2012
Showing with 6 additions and 2 deletions.
  1. +6 −2 src/MvcPaging/IPagedList.cs
View
8 src/MvcPaging/IPagedList.cs
@@ -2,7 +2,7 @@
namespace MvcPaging
{
- public interface IPagedList<T> : IList<T>
+ public interface IPagedList
{
int PageCount { get; }
int TotalItemCount { get; }
@@ -14,6 +14,10 @@ public interface IPagedList<T> : IList<T>
bool IsFirstPage { get; }
bool IsLastPage { get; }
int ItemStart { get; }
- int ItemEnd { get; }
+ int ItemEnd { get; }
+ }
+
+ public interface IPagedList<T> : IPagedList, IList<T>
+ {
}
}

0 comments on commit 28ead8d

Please sign in to comment.