2021-12-27 23:37:40 +00:00
|
|
|
|
#nullable disable
|
|
|
|
|
|
|
|
|
|
using Emby.Naming.Common;
|
|
|
|
|
using MediaBrowser.Controller.Entities;
|
|
|
|
|
|
|
|
|
|
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>
|
|
|
|
|
/// <param name="namingOptions">The naming options.</param>
|
2021-12-27 23:37:40 +00:00
|
|
|
|
public GenericVideoResolver(NamingOptions namingOptions)
|
|
|
|
|
: base(namingOptions)
|
|
|
|
|
{
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|