jellyfin-server/Emby.Server.Implementations/Library/Resolvers/GenericVideoResolver.cs

27 lines
870 B
C#
Raw Normal View History

#nullable disable
2021-12-27 23:37:40 +00:00
using Emby.Naming.Common;
using MediaBrowser.Controller.Entities;
using Microsoft.Extensions.Logging;
2021-12-27 23:37:40 +00:00
namespace Emby.Server.Implementations.Library.Resolvers
{
/// <summary>
/// Resolves a Path into an instance of the <see cref="Video"/> class.
/// </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()
{
/// <summary>
/// Initializes a new instance of the <see cref="GenericVideoResolver{T}"/> class.
/// </summary>
/// <param name="logger">The logger.</param>
/// <param name="namingOptions">The naming options.</param>
public GenericVideoResolver(ILogger logger, NamingOptions namingOptions)
: base(logger, namingOptions)
2021-12-27 23:37:40 +00:00
{
}
}
}