using System; using System.Collections.Generic; namespace Volo.Abp.Application.Dtos; /// /// Implements . /// /// Type of the items in the list [Serializable] public class PagedResultDto : ListResultDto, IPagedResult { /// public long TotalCount { get; set; } //TODO: Can be a long value..? /// /// Creates a new object. /// public PagedResultDto() { } /// /// Creates a new object. /// /// Total count of Items /// List of items in current page public PagedResultDto(long totalCount, IReadOnlyList items) : base(items) { TotalCount = totalCount; } } /// /// Implements . /// /// Type of the items in the list [Serializable] public class ExtensiblePagedResultDto : ExtensibleListResultDto, IPagedResult { /// public long TotalCount { get; set; } //TODO: Can be a long value..? /// /// Creates a new object. /// public ExtensiblePagedResultDto() { } /// /// Creates a new object. /// /// Total count of Items /// List of items in current page public ExtensiblePagedResultDto(long totalCount, IReadOnlyList items) : base(items) { TotalCount = totalCount; } }