Class PagedResultDto<T>
Implements IPagedResult<T>.
Inherited Members
Namespace: Volo.Abp.Application.Dtos
Assembly: Volo.Abp.Ddd.Application.Contracts.dll
Syntax
public class PagedResultDto<T> : ListResultDto<T>, IPagedResult<T>, IListResult<T>, IHasTotalCount
Type Parameters
Name | Description |
---|---|
T | Type of the items in the Items list |
Constructors
PagedResultDto()
Creates a new PagedResultDto<T> object.
Declaration
public PagedResultDto()
PagedResultDto(Int64, IReadOnlyList<T>)
Creates a new PagedResultDto<T> object.
Declaration
public PagedResultDto(long totalCount, IReadOnlyList<T> items)
Parameters
Type | Name | Description |
---|---|---|
System.Int64 | totalCount | Total count of Items |
IReadOnlyList<T> | items | List of items in current page |
Properties
TotalCount
Declaration
public long TotalCount { get; set; }
Property Value
Type | Description |
---|---|
System.Int64 |