jellyfin-server/MediaBrowser.Providers/Manager/ConcreteMetadataService.cs
2014-01-31 14:55:21 -05:00

22 lines
767 B
C#

using MediaBrowser.Controller.Configuration;
using MediaBrowser.Controller.Providers;
using MediaBrowser.Model.Logging;
namespace MediaBrowser.Providers.Manager
{
public abstract class ConcreteMetadataService<TItemType, TIdType> : MetadataService<TItemType, TIdType>
where TItemType : IHasMetadata, new()
where TIdType : ItemId, new()
{
protected ConcreteMetadataService(IServerConfigurationManager serverConfigurationManager, ILogger logger, IProviderManager providerManager, IProviderRepository providerRepo)
: base(serverConfigurationManager, logger, providerManager, providerRepo)
{
}
protected override TItemType CreateNew()
{
return new TItemType();
}
}
}