mirror of
https://github.com/jellyfin/jellyfin.git
synced 2024-09-08 04:18:06 +02:00
20 lines
701 B
C#
20 lines
701 B
C#
using MediaBrowser.Controller.Entities;
|
|
using System.Collections.Generic;
|
|
|
|
namespace MediaBrowser.Controller.Library
|
|
{
|
|
/// <summary>
|
|
/// Interface ILibrarySearchEngine
|
|
/// </summary>
|
|
public interface ILibrarySearchEngine
|
|
{
|
|
/// <summary>
|
|
/// Searches items and returns them in order of relevance.
|
|
/// </summary>
|
|
/// <param name="items">The items.</param>
|
|
/// <param name="searchTerm">The search term.</param>
|
|
/// <returns>IEnumerable{BaseItem}.</returns>
|
|
/// <exception cref="System.ArgumentNullException">searchTerm</exception>
|
|
IEnumerable<BaseItem> Search(IEnumerable<BaseItem> items, string searchTerm);
|
|
}
|
|
}
|