using System; using System.Collections.Generic; namespace Abp.Application.Services.Dto { /// /// Implements . /// /// Type of the items in the list [Serializable] public class PagedResultDto : ListResultDto, IPagedResult { /// /// Total count of Items. /// public int TotalCount { get; set; } /// /// Creates a new object. /// public PagedResultDto() { } /// /// Creates a new object. /// /// Total count of Items /// List of items in current page public PagedResultDto(int totalCount, IReadOnlyList items) : base(items) { TotalCount = totalCount; } } }