コード例 #1
0
        public static PaginatedList <System.Web.Security.MembershipUser> ToPaginatedList(this MembershipUserCollection collection, int pageIndex, int pageSize, int totalRecords, string searchterm, string filterby)
        {
            var list = collection.ToList();

            return(new PaginatedList <System.Web.Security.MembershipUser>(list, totalRecords, pageIndex, pageSize, searchterm, filterby));
        }