2013-11-25 20:39:23 +00:00
|
|
|
|
|
2013-05-11 04:10:58 +00:00
|
|
|
|
namespace MediaBrowser.Model.Querying
|
|
|
|
|
{
|
2013-11-25 20:39:23 +00:00
|
|
|
|
public class QueryResult<T>
|
2013-05-11 04:10:58 +00:00
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
2013-11-25 20:39:23 +00:00
|
|
|
|
/// Gets or sets the items.
|
2013-05-11 04:10:58 +00:00
|
|
|
|
/// </summary>
|
2013-11-25 20:39:23 +00:00
|
|
|
|
/// <value>The items.</value>
|
|
|
|
|
public T[] Items { get; set; }
|
2013-05-11 04:10:58 +00:00
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// The total number of records available
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <value>The total record count.</value>
|
|
|
|
|
public int TotalRecordCount { get; set; }
|
|
|
|
|
|
2013-11-25 20:39:23 +00:00
|
|
|
|
public QueryResult()
|
2013-05-11 04:10:58 +00:00
|
|
|
|
{
|
2013-11-25 20:39:23 +00:00
|
|
|
|
Items = new T[] { };
|
2013-05-11 04:10:58 +00:00
|
|
|
|
}
|
2013-11-25 20:39:23 +00:00
|
|
|
|
}
|
2013-05-11 04:10:58 +00:00
|
|
|
|
}
|