aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Model/Search/SearchHintResult.cs
blob: 762a9a0787329473a381c97b99a8adabd7c3a151 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
using System.Collections.Generic;

namespace MediaBrowser.Model.Search
{
    /// <summary>
    /// Class SearchHintResult.
    /// </summary>
    public class SearchHintResult
    {
        /// <summary>
        /// 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.
        /// </summary>
        /// <value>The search hints.</value>
        public IReadOnlyList<SearchHint> SearchHints { get; }

        /// <summary>
        /// Gets the total record count.
        /// </summary>
        /// <value>The total record count.</value>
        public int TotalRecordCount { get; }
    }
}