jellyfin/MediaBrowser.Model/Querying/QueryResult.cs

27 lines
653 B
C#
Raw Normal View History

2013-11-25 21:39:23 +01:00

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