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