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.
21 lines
584 B
21 lines
584 B
using System.Threading.Tasks;
|
|
|
|
namespace MediaBrowser.Controller.Providers
|
|
{
|
|
public interface IItemIdentityProvider<in TLookupInfo, TIdentity> : IItemIdentityProvider
|
|
where TLookupInfo : ItemLookupInfo
|
|
where TIdentity : IItemIdentity
|
|
{
|
|
Task<TIdentity> FindIdentity(TLookupInfo info);
|
|
}
|
|
|
|
public interface IItemIdentityConverter<TIdentity> : IItemIdentityConverter
|
|
where TIdentity : IItemIdentity
|
|
{
|
|
Task<TIdentity> Convert(TIdentity identity);
|
|
|
|
string SourceType { get; }
|
|
|
|
string ResultType { get; }
|
|
}
|
|
} |