jellyfin/MediaBrowser.Controller/Entities/IItemByName.cs

30 lines
779 B
C#
Raw Normal View History

2015-01-25 06:34:50 +00:00
using System;
using System.Collections.Generic;
2013-06-27 19:29:58 +00:00
namespace MediaBrowser.Controller.Entities
{
/// <summary>
/// Marker interface
/// </summary>
public interface IItemByName
{
/// <summary>
/// Gets the tagged items.
/// </summary>
/// <param name="inputItems">The input items.</param>
/// <returns>IEnumerable{BaseItem}.</returns>
IEnumerable<BaseItem> GetTaggedItems(IEnumerable<BaseItem> inputItems);
2015-01-25 06:34:50 +00:00
2015-02-06 05:39:07 +00:00
/// <summary>
/// Gets the item filter.
/// </summary>
/// <returns>Func&lt;BaseItem, System.Boolean&gt;.</returns>
2015-01-26 22:47:16 +00:00
Func<BaseItem, bool> GetItemFilter();
2013-06-27 19:29:58 +00:00
}
2013-09-10 19:30:56 +00:00
2013-11-21 20:48:26 +00:00
public interface IHasDualAccess : IItemByName
{
bool IsAccessedByName { get; }
}
2013-06-27 19:29:58 +00:00
}