mirror of
https://github.com/jellyfin/jellyfin.git
synced 2024-11-17 19:08:53 -07:00
27 lines
653 B
C#
27 lines
653 B
C#
|
|
namespace MediaBrowser.Model.Querying
|
|
{
|
|
public class QueryResult<T>
|
|
{
|
|
/// <summary>
|
|
/// Gets or sets the items.
|
|
/// </summary>
|
|
/// <value>The items.</value>
|
|
public T[] Items { get; set; }
|
|
|
|
/// <summary>
|
|
/// The total number of records available
|
|
/// </summary>
|
|
/// <value>The total record count.</value>
|
|
public int TotalRecordCount { get; set; }
|
|
|
|
/// <summary>
|
|
/// Initializes a new instance of the <see cref="ItemsResult" /> class.
|
|
/// </summary>
|
|
public QueryResult()
|
|
{
|
|
Items = new T[] { };
|
|
}
|
|
}
|
|
}
|