jellyfin-server/MediaBrowser.Model/Querying/QueryResult.cs
2013-11-25 15:39:23 -05:00

27 lines
653 B
C#

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; }
/// <summary>
/// Initializes a new instance of the <see cref="ItemsResult" /> class.
/// </summary>
public QueryResult()
{
Items = new T[] { };
}
}
}