jellyfin-server/MediaBrowser.Model/Querying/QueryResult.cs

24 lines
528 B
C#
Raw Normal View History

2018-12-27 23:27:57 +00:00

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; }
public QueryResult()
{
Items = new T[] { };
}
}
}