jellyfin/MediaBrowser.Model/Search/SearchHintResult.cs

34 lines
1.0 KiB
C#
Raw Normal View History

2022-01-22 07:40:05 -07:00
using System.Collections.Generic;
2018-12-27 16:27:57 -07:00
namespace MediaBrowser.Model.Search
{
/// <summary>
2020-02-03 17:49:27 -07:00
/// Class SearchHintResult.
2018-12-27 16:27:57 -07:00
/// </summary>
public class SearchHintResult
{
/// <summary>
2022-01-22 07:40:05 -07: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 16:27:57 -07:00
/// </summary>
/// <value>The search hints.</value>
2022-01-22 07:40:05 -07:00
public IReadOnlyList<SearchHint> SearchHints { get; }
2018-12-27 16:27:57 -07:00
/// <summary>
2022-01-22 07:40:05 -07:00
/// Gets the total record count.
2018-12-27 16:27:57 -07:00
/// </summary>
/// <value>The total record count.</value>
2022-01-22 07:40:05 -07:00
public int TotalRecordCount { get; }
2018-12-27 16:27:57 -07:00
}
}