< Summary - Jellyfin

Information
Class: MediaBrowser.Model.LiveTv.LiveTvInfo
Assembly: MediaBrowser.Model
File(s): /srv/git/jellyfin/MediaBrowser.Model/LiveTv/LiveTvInfo.cs
Line coverage
0%
Covered lines: 0
Uncovered lines: 3
Coverable lines: 3
Total lines: 33
Line coverage: 0%
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%210%

File(s)

/srv/git/jellyfin/MediaBrowser.Model/LiveTv/LiveTvInfo.cs

#LineLine coverage
 1#pragma warning disable CS1591
 2
 3using System;
 4
 5namespace MediaBrowser.Model.LiveTv
 6{
 7    public class LiveTvInfo
 8    {
 9        public LiveTvInfo()
 10        {
 011            Services = Array.Empty<LiveTvServiceInfo>();
 012            EnabledUsers = Array.Empty<string>();
 013        }
 14
 15        /// <summary>
 16        /// Gets or sets the services.
 17        /// </summary>
 18        /// <value>The services.</value>
 19        public LiveTvServiceInfo[] Services { get; set; }
 20
 21        /// <summary>
 22        /// Gets or sets a value indicating whether this instance is enabled.
 23        /// </summary>
 24        /// <value><c>true</c> if this instance is enabled; otherwise, <c>false</c>.</value>
 25        public bool IsEnabled { get; set; }
 26
 27        /// <summary>
 28        /// Gets or sets the enabled users.
 29        /// </summary>
 30        /// <value>The enabled users.</value>
 31        public string[] EnabledUsers { get; set; }
 32    }
 33}

Methods/Properties

.ctor()