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; }
|
|
|
|
|
|
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
|
|
|
|
}
|