jellyfin/MediaBrowser.Model/Search/SearchHintResult.cs

34 lines
1.0 KiB
C#
Raw Normal View History

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