diff options
| author | Luke Pulverenti <luke.pulverenti@gmail.com> | 2013-04-26 15:20:53 -0400 |
|---|---|---|
| committer | Luke Pulverenti <luke.pulverenti@gmail.com> | 2013-04-26 15:20:53 -0400 |
| commit | 757cfcae8e91a5b7f1c78032398a6287055120b8 (patch) | |
| tree | e12ec4c46a5b3eaad67209a40dfc59e06e8524c6 /MediaBrowser.Controller/Library/ILibrarySearchEngine.cs | |
| parent | 93042612a078f447d7ca54bd9ee602b4ae044f84 (diff) | |
Added search hint service
Diffstat (limited to 'MediaBrowser.Controller/Library/ILibrarySearchEngine.cs')
| -rw-r--r-- | MediaBrowser.Controller/Library/ILibrarySearchEngine.cs | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/MediaBrowser.Controller/Library/ILibrarySearchEngine.cs b/MediaBrowser.Controller/Library/ILibrarySearchEngine.cs index 0aff451d9..315e75208 100644 --- a/MediaBrowser.Controller/Library/ILibrarySearchEngine.cs +++ b/MediaBrowser.Controller/Library/ILibrarySearchEngine.cs @@ -1,5 +1,6 @@ using MediaBrowser.Controller.Entities; using System.Collections.Generic; +using System.Threading.Tasks; namespace MediaBrowser.Controller.Library { @@ -16,5 +17,13 @@ namespace MediaBrowser.Controller.Library /// <returns>IEnumerable{BaseItem}.</returns> /// <exception cref="System.ArgumentNullException">searchTerm</exception> IEnumerable<BaseItem> Search(IEnumerable<BaseItem> items, string searchTerm); + + /// <summary> + /// Gets the search hints. + /// </summary> + /// <param name="inputItems">The input items.</param> + /// <param name="searchTerm">The search term.</param> + /// <returns>Task{IEnumerable{BaseItem}}.</returns> + Task<IEnumerable<BaseItem>> GetSearchHints(IEnumerable<BaseItem> inputItems, string searchTerm); } } |
