2014-02-18 22:21:03 -07:00
|
|
|
|
using MediaBrowser.Controller.Entities;
|
2014-01-28 11:37:01 -07:00
|
|
|
|
|
|
|
|
|
namespace MediaBrowser.Controller.Providers
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Marker interface
|
|
|
|
|
/// </summary>
|
|
|
|
|
public interface IMetadataProvider
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Gets the name.
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <value>The name.</value>
|
|
|
|
|
string Name { get; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public interface IMetadataProvider<TItemType> : IMetadataProvider
|
|
|
|
|
where TItemType : IHasMetadata
|
|
|
|
|
{
|
|
|
|
|
}
|
|
|
|
|
|
2014-01-31 12:55:21 -07:00
|
|
|
|
public interface IHasOrder
|
|
|
|
|
{
|
|
|
|
|
int Order { get; }
|
|
|
|
|
}
|
|
|
|
|
|
2014-01-28 11:37:01 -07:00
|
|
|
|
public class MetadataResult<T>
|
|
|
|
|
{
|
|
|
|
|
public bool HasMetadata { get; set; }
|
|
|
|
|
public T Item { get; set; }
|
|
|
|
|
}
|
|
|
|
|
}
|