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

16 lines
447 B
C#
Raw Normal View History

2015-03-13 19:37:19 +00:00
using System.Threading.Tasks;
namespace MediaBrowser.Controller.Providers
{
2015-09-19 21:25:19 +00:00
public interface IItemIdentityProvider<in TLookupInfo> : IItemIdentityProvider
where TLookupInfo : ItemLookupInfo
{
2015-09-19 21:25:19 +00:00
Task Identify(TLookupInfo info);
}
2015-09-19 21:25:19 +00:00
public interface IItemIdentityConverter<in TLookupInfo> : IItemIdentityConverter
where TLookupInfo : ItemLookupInfo
{
2015-09-19 21:25:19 +00:00
Task<bool> Convert(TLookupInfo info);
}
}