CollectionExtensions.AsPagedList Method

Namespace:
Weavy.Core.Helpers
Assembly:
Weavy.Core.dll

AsPagedList(IEnumerable, QueryOptions, Nullable)

Extension method to make it easier to create a PagedList.

public static PagedList AsPagedList(this IEnumerable source, QueryOptions opts, long? total)

Parameters

source
System.Collections.Generic.IEnumerable{{T}}
total
System.Nullable{System.Int64}

Returns

Weavy.Core.Collections.PagedList{{T}}