You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
36 lines
715 B
36 lines
715 B
using System;
|
|
using MediaBrowser.Controller.Entities;
|
|
|
|
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
|
|
{
|
|
}
|
|
|
|
public interface IHasOrder
|
|
{
|
|
int Order { get; }
|
|
}
|
|
|
|
public class MetadataResult<T>
|
|
where T : IHasMetadata
|
|
{
|
|
public bool HasMetadata { get; set; }
|
|
public T Item { get; set; }
|
|
}
|
|
|
|
}
|