You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
26 lines
591 B
26 lines
591 B
using System;
|
|
using System.Collections.Generic;
|
|
|
|
namespace MediaBrowser.Model.Querying
|
|
{
|
|
public class QueryResult<T>
|
|
{
|
|
/// <summary>
|
|
/// Gets or sets the items.
|
|
/// </summary>
|
|
/// <value>The items.</value>
|
|
public IReadOnlyList<T> Items { get; set; }
|
|
|
|
/// <summary>
|
|
/// The total number of records available
|
|
/// </summary>
|
|
/// <value>The total record count.</value>
|
|
public int TotalRecordCount { get; set; }
|
|
|
|
public QueryResult()
|
|
{
|
|
Items = Array.Empty<T>();
|
|
}
|
|
}
|
|
}
|