jellyfin-server/MediaBrowser.Controller/Providers/IMetadataProvider.cs

34 lines
703 B
C#
Raw Normal View History

2014-02-19 05:21:03 +00:00
using MediaBrowser.Controller.Entities;
2014-07-08 01:41:03 +00:00
using System.Collections.Generic;
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 19:55:21 +00:00
public interface IHasOrder
{
int Order { get; }
}
public class MetadataResult<T>
{
public bool HasMetadata { get; set; }
public T Item { get; set; }
}
}