jellyfin/MediaBrowser.Controller/Providers/ItemIdentities.cs

16 lines
447 B
C#
Raw Normal View History

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