GenericVideoResolver.cs 760 B

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