jellyfin/MediaBrowser.Model/Querying/QueryResult.cs

27 lines
653 B
C#
Raw Normal View History

2013-11-25 13:39:23 -07:00

2013-05-10 21:10:58 -07:00
namespace MediaBrowser.Model.Querying
{
2013-11-25 13:39:23 -07:00
public class QueryResult<T>
2013-05-10 21:10:58 -07:00
{
/// <summary>
2013-11-25 13:39:23 -07:00
/// Gets or sets the items.
2013-05-10 21:10:58 -07:00
/// </summary>
2013-11-25 13:39:23 -07:00
/// <value>The items.</value>
public T[] Items { get; set; }
2013-05-10 21:10:58 -07:00
/// <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>
2013-11-25 13:39:23 -07:00
public QueryResult()
2013-05-10 21:10:58 -07:00
{
2013-11-25 13:39:23 -07:00
Items = new T[] { };
2013-05-10 21:10:58 -07:00
}
2013-11-25 13:39:23 -07:00
}
2013-05-10 21:10:58 -07:00
}