ILibrarySearchEngine.cs 591 B

12345678910111213141516171819
  1. using MediaBrowser.Controller.Entities;
  2. using System.Collections.Generic;
  3. namespace MediaBrowser.Controller.Library
  4. {
  5. /// <summary>
  6. /// Interface ILibrarySearchEngine
  7. /// </summary>
  8. public interface ILibrarySearchEngine
  9. {
  10. /// <summary>
  11. /// Sorts the specified items.
  12. /// </summary>
  13. /// <param name="items">The items.</param>
  14. /// <param name="searchTerm">The search term.</param>
  15. /// <returns>IEnumerable{BaseItem}.</returns>
  16. IEnumerable<BaseItem> Search(IEnumerable<BaseItem> items, string searchTerm);
  17. }
  18. }