< Summary - Jellyfin

Information
Class: Emby.Server.Implementations.Library.Resolvers.GenericVideoResolver<T>
Assembly: Emby.Server.Implementations
File(s): /srv/git/jellyfin/Emby.Server.Implementations/Library/Resolvers/GenericVideoResolver.cs
Line coverage
100%
Covered lines: 2
Uncovered lines: 0
Coverable lines: 2
Total lines: 28
Line coverage: 100%
Branch coverage
N/A
Covered branches: 0
Total branches: 0
Branch coverage: N/A
Method coverage

Feature is only available for sponsors

Upgrade to PRO version

Coverage history

Coverage history 0 25 50 75 100

Metrics

MethodBranch coverage Crap Score Cyclomatic complexity Line coverage
.ctor(...)100%11100%

File(s)

/srv/git/jellyfin/Emby.Server.Implementations/Library/Resolvers/GenericVideoResolver.cs

#LineLine coverage
 1#nullable disable
 2
 3using Emby.Naming.Common;
 4using MediaBrowser.Controller.Entities;
 5using MediaBrowser.Controller.Providers;
 6using Microsoft.Extensions.Logging;
 7
 8namespace 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)
 2924            : base(logger, namingOptions, directoryService)
 25        {
 2926        }
 27    }
 28}