Method ToPagedResult
| Improve this Doc View SourceToPagedResult<T>(IEnumerable<T>, PagedInfo)
Converts an instance of type Result to PagedResult<T>.
Declaration
public PagedResult<T> ToPagedResult<T>(IEnumerable<T> data, PagedInfo pagedInfo)
Parameters
Type | Name | Description |
---|---|---|
IEnumerable<T> | data | The value to be set. |
PagedInfo | pagedInfo | Some information about the page. |
Returns
Type | Description |
---|---|
PagedResult<T> | An instance of type PagedResult<T>. |
Type Parameters
Name | Description |
---|---|
T | The type of objects to enumerate. |