blob: 756dbecb98830e59ef701a095ecada8240c1cb18 (
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
|
using System.Collections.Generic;
namespace MediaBrowser.Controller.Entities
{
/// <summary>
/// Marker interface for items that represent a name, like a genre or a studio.
/// </summary>
public interface IItemByName
{
/// <summary>
/// Gets the items tagged with this name.
/// </summary>
/// <param name="query">The query.</param>
/// <returns>The tagged items.</returns>
IReadOnlyList<BaseItem> GetTaggedItems(InternalItemsQuery query);
}
/// <summary>
/// Interface for by-name items that can also be accessed as a regular library item.
/// </summary>
public interface IHasDualAccess : IItemByName
{
/// <summary>
/// Gets a value indicating whether the item is accessed by name.
/// </summary>
bool IsAccessedByName { get; }
}
}
|