| | | 1 | | #nullable disable |
| | | 2 | | |
| | | 3 | | using Emby.Naming.Common; |
| | | 4 | | using MediaBrowser.Controller.Entities; |
| | | 5 | | using MediaBrowser.Controller.Providers; |
| | | 6 | | using Microsoft.Extensions.Logging; |
| | | 7 | | |
| | | 8 | | namespace Emby.Server.Implementations.Library.Resolvers |
| | | 9 | | { |
| | | 10 | | /// <summary> |
| | | 11 | | /// Resolves a Path into an instance of the <see cref="Video"/> class. |
| | | 12 | | /// </summary> |
| | | 13 | | /// <typeparam name="T">The type of item to resolve.</typeparam> |
| | | 14 | | public class GenericVideoResolver<T> : BaseVideoResolver<T> |
| | | 15 | | where T : Video, new() |
| | | 16 | | { |
| | | 17 | | /// <summary> |
| | | 18 | | /// Initializes a new instance of the <see cref="GenericVideoResolver{T}"/> class. |
| | | 19 | | /// </summary> |
| | | 20 | | /// <param name="logger">The logger.</param> |
| | | 21 | | /// <param name="namingOptions">The naming options.</param> |
| | | 22 | | /// <param name="directoryService">The directory service.</param> |
| | | 23 | | public GenericVideoResolver(ILogger logger, NamingOptions namingOptions, IDirectoryService directoryService) |
| | 28 | 24 | | : base(logger, namingOptions, directoryService) |
| | | 25 | | { |
| | 28 | 26 | | } |
| | | 27 | | } |
| | | 28 | | } |