SearchHintResult.cs 1.0 KB

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