| | 1 | | using System.Collections.Generic; |
| | 2 | |
|
| | 3 | | namespace MediaBrowser.Model.Search |
| | 4 | | { |
| | 5 | | /// <summary> |
| | 6 | | /// Class SearchHintResult. |
| | 7 | | /// </summary> |
| | 8 | | public class SearchHintResult |
| | 9 | | { |
| | 10 | | /// <summary> |
| | 11 | | /// Initializes a new instance of the <see cref="SearchHintResult" /> class. |
| | 12 | | /// </summary> |
| | 13 | | /// <param name="searchHints">The search hints.</param> |
| | 14 | | /// <param name="totalRecordCount">The total record count.</param> |
| | 15 | | public SearchHintResult(IReadOnlyList<SearchHint> searchHints, int totalRecordCount) |
| | 16 | | { |
| | 17 | | SearchHints = searchHints; |
| | 18 | | TotalRecordCount = totalRecordCount; |
| 0 | 19 | | } |
| | 20 | |
|
| | 21 | | /// <summary> |
| | 22 | | /// Gets the search hints. |
| | 23 | | /// </summary> |
| | 24 | | /// <value>The search hints.</value> |
| | 25 | | public IReadOnlyList<SearchHint> SearchHints { get; } |
| | 26 | |
|
| | 27 | | /// <summary> |
| | 28 | | /// Gets the total record count. |
| | 29 | | /// </summary> |
| | 30 | | /// <value>The total record count.</value> |
| | 31 | | public int TotalRecordCount { get; } |
| | 32 | | } |
| | 33 | | } |