Show / Hide Table of Contents

Class PagedResultDto<T>

Implements IPagedResult<T>.

Inheritance
System.Object
ListResultDto<T>
PagedResultDto<T>
Implements
IPagedResult<T>
IListResult<T>
IHasTotalCount
Inherited Members
ListResultDto<T>.Items
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

Implements

IPagedResult<T>
IListResult<T>
IHasTotalCount

Extension Methods

AbpObjectExtensions.As<T>(Object)
AbpObjectExtensions.To<T>(Object)
AbpObjectExtensions.IsIn<T>(T, T[])
AbpObjectExtensions.If<T>(T, Boolean, Func<T, T>)
AbpObjectExtensions.If<T>(T, Boolean, Action<T>)
LockExtensions.Locking(Object, Action)
LockExtensions.Locking<T>(T, Action<T>)
LockExtensions.Locking<TResult>(Object, Func<TResult>)
LockExtensions.Locking<T, TResult>(T, Func<T, TResult>)
Back to top Powered by Volosoft