Table of Contents

Class PagedResult<T>

Namespace
CMS.Plugin.MesSuite.Abstractions.Models
Assembly
CMS.Plugin.MesSuite.Abstractions.dll

分页结果

[Serializable]
public class PagedResult<T>

Type Parameters

T
Inheritance
PagedResult<T>
Inherited Members

Constructors

PagedResult()

Initializes a new instance of the PagedResult<T> class.

public PagedResult()

PagedResult(long, IReadOnlyList<T>)

Initializes a new instance of the PagedResult<T> class.

public PagedResult(long totalCount, IReadOnlyList<T> items)

Parameters

totalCount long

Total count of Items

items IReadOnlyList<T>

List of items in current page

Properties

Items

Gets or sets the items.

public IReadOnlyList<T> Items { get; set; }

Property Value

IReadOnlyList<T>

TotalCount

Gets or sets the total count.

public long TotalCount { get; set; }

Property Value

long