2022-01-22 14:40:05 +00:00
|
|
|
using System.Collections.Generic;
|
|
|
|
|
2018-12-27 23:27:57 +00:00
|
|
|
namespace MediaBrowser.Model.Search
|
|
|
|
{
|
|
|
|
/// <summary>
|
2020-02-04 00:49:27 +00:00
|
|
|
/// Class SearchHintResult.
|
2018-12-27 23:27:57 +00:00
|
|
|
/// </summary>
|
|
|
|
public class SearchHintResult
|
|
|
|
{
|
|
|
|
/// <summary>
|
2022-01-22 14:40:05 +00:00
|
|
|
/// Initializes a new instance of the <see cref="SearchHintResult" /> class.
|
|
|
|
/// </summary>
|
|
|
|
/// <param name="searchHints">The search hints.</param>
|
|
|
|
/// <param name="totalRecordCount">The total record count.</param>
|
|
|
|
public SearchHintResult(IReadOnlyList<SearchHint> searchHints, int totalRecordCount)
|
|
|
|
{
|
|
|
|
SearchHints = searchHints;
|
|
|
|
TotalRecordCount = totalRecordCount;
|
|
|
|
}
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// Gets the search hints.
|
2018-12-27 23:27:57 +00:00
|
|
|
/// </summary>
|
|
|
|
/// <value>The search hints.</value>
|
2022-01-22 14:40:05 +00:00
|
|
|
public IReadOnlyList<SearchHint> SearchHints { get; }
|
2018-12-27 23:27:57 +00:00
|
|
|
|
|
|
|
/// <summary>
|
2022-01-22 14:40:05 +00:00
|
|
|
/// Gets the total record count.
|
2018-12-27 23:27:57 +00:00
|
|
|
/// </summary>
|
|
|
|
/// <value>The total record count.</value>
|
2022-01-22 14:40:05 +00:00
|
|
|
public int TotalRecordCount { get; }
|
2018-12-27 23:27:57 +00:00
|
|
|
}
|
|
|
|
}
|