2022-01-04 14:52:52 -07:00
|
|
|
#nullable disable
|
2021-12-27 16:37:40 -07:00
|
|
|
|
|
|
|
using Emby.Naming.Common;
|
|
|
|
using MediaBrowser.Controller.Entities;
|
2023-03-06 21:00:55 -07:00
|
|
|
using MediaBrowser.Controller.Providers;
|
2022-01-04 14:52:52 -07:00
|
|
|
using Microsoft.Extensions.Logging;
|
2021-12-27 16:37:40 -07:00
|
|
|
|
|
|
|
namespace Emby.Server.Implementations.Library.Resolvers
|
|
|
|
{
|
2022-01-01 06:52:54 -07:00
|
|
|
/// <summary>
|
2022-01-01 12:07:03 -07:00
|
|
|
/// Resolves a Path into an instance of the <see cref="Video"/> class.
|
2022-01-01 06:52:54 -07:00
|
|
|
/// </summary>
|
|
|
|
/// <typeparam name="T">The type of item to resolve.</typeparam>
|
2021-12-27 16:37:40 -07:00
|
|
|
public class GenericVideoResolver<T> : BaseVideoResolver<T>
|
|
|
|
where T : Video, new()
|
|
|
|
{
|
2022-01-01 06:52:54 -07:00
|
|
|
/// <summary>
|
2022-01-01 12:07:03 -07:00
|
|
|
/// Initializes a new instance of the <see cref="GenericVideoResolver{T}"/> class.
|
2022-01-01 06:52:54 -07:00
|
|
|
/// </summary>
|
2022-01-04 14:52:52 -07:00
|
|
|
/// <param name="logger">The logger.</param>
|
2022-01-01 06:52:54 -07:00
|
|
|
/// <param name="namingOptions">The naming options.</param>
|
2023-03-06 21:00:55 -07:00
|
|
|
/// <param name="directoryService">The directory service.</param>
|
|
|
|
public GenericVideoResolver(ILogger logger, NamingOptions namingOptions, IDirectoryService directoryService)
|
|
|
|
: base(logger, namingOptions, directoryService)
|
2021-12-27 16:37:40 -07:00
|
|
|
{
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|