GenericVideoResolver.cs 870 B

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