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