Class PageableExtensions
- Namespace
- Dynamicweb.CoreUI.Data
- Assembly
- Dynamicweb.CoreUI.dll
public static class PageableExtensions
- Inheritance
-
PageableExtensions
- Inherited Members
Methods
GetPagingIndexOrDefault(IPageable, int?)
public static int GetPagingIndexOrDefault(this IPageable pageable, int? defaultValue = null)
Parameters
Returns
GetPagingSizeOrDefault(IPageable, int?)
public static int GetPagingSizeOrDefault(this IPageable pageable, int? defaultValue = null)
Parameters
Returns
TakeByPageable<T>(IEnumerable<T>, IPageable, int?, int?)
public static IEnumerable<T> TakeByPageable<T>(this IEnumerable<T> list, IPageable pageable, int? defaultPagingIndex = null, int? defaultPagingSize = null)
Parameters
list
IEnumerable<T>pageable
IPageabledefaultPagingIndex
int?defaultPagingSize
int?
Returns
- IEnumerable<T>
Type Parameters
T