using System.Collections.Generic;
namespace MediaBrowser.Controller.Entities
{
///
/// Marker interface for items that represent a name, like a genre or a studio.
///
public interface IItemByName
{
///
/// Gets the items tagged with this name.
///
/// The query.
/// The tagged items.
IReadOnlyList GetTaggedItems(InternalItemsQuery query);
}
///
/// Interface for by-name items that can also be accessed as a regular library item.
///
public interface IHasDualAccess : IItemByName
{
///
/// Gets a value indicating whether the item is accessed by name.
///
bool IsAccessedByName { get; }
}
}