aboutsummaryrefslogtreecommitdiff
path: root/Emby.Server.Implementations/Library/Resolvers/GenericVideoResolver.cs
blob: b8554bd51c20c869e5c6e7d1b8457c0d0e5f7731 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#nullable disable

using Emby.Naming.Common;
using MediaBrowser.Controller.Entities;

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>
    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="namingOptions">The naming options.</param>
        public GenericVideoResolver(NamingOptions namingOptions)
            : base(namingOptions)
        {
        }
    }
}