< Summary - Jellyfin

Information
Class: MediaBrowser.Controller.Channels.InternalChannelFeatures
Assembly: MediaBrowser.Controller
File(s): /srv/git/jellyfin/MediaBrowser.Controller/Channels/InternalChannelFeatures.cs
Line coverage
0%
Covered lines: 0
Uncovered lines: 4
Coverable lines: 4
Total lines: 66
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.Controller/Channels/InternalChannelFeatures.cs

#LineLine coverage
 1#nullable disable
 2
 3#pragma warning disable CA1002, CA2227, CS1591
 4
 5using System.Collections.Generic;
 6using MediaBrowser.Model.Channels;
 7
 8namespace MediaBrowser.Controller.Channels
 9{
 10    public class InternalChannelFeatures
 11    {
 12        public InternalChannelFeatures()
 13        {
 014            MediaTypes = new List<ChannelMediaType>();
 015            ContentTypes = new List<ChannelMediaContentType>();
 16
 017            DefaultSortFields = new List<ChannelItemSortField>();
 018        }
 19
 20        /// <summary>
 21        /// Gets or sets the media types.
 22        /// </summary>
 23        /// <value>The media types.</value>
 24        public List<ChannelMediaType> MediaTypes { get; set; }
 25
 26        /// <summary>
 27        /// Gets or sets the content types.
 28        /// </summary>
 29        /// <value>The content types.</value>
 30        public List<ChannelMediaContentType> ContentTypes { get; set; }
 31
 32        /// <summary>
 33        /// Gets or sets the maximum number of records the channel allows retrieving at a time.
 34        /// </summary>
 35        public int? MaxPageSize { get; set; }
 36
 37        /// <summary>
 38        /// Gets or sets the default sort orders.
 39        /// </summary>
 40        /// <value>The default sort orders.</value>
 41        public List<ChannelItemSortField> DefaultSortFields { get; set; }
 42
 43        /// <summary>
 44        /// Gets or sets a value indicating whether a sort ascending/descending toggle is supported or not.
 45        /// </summary>
 46        public bool SupportsSortOrderToggle { get; set; }
 47
 48        /// <summary>
 49        /// Gets or sets the automatic refresh levels.
 50        /// </summary>
 51        /// <value>The automatic refresh levels.</value>
 52        public int? AutoRefreshLevels { get; set; }
 53
 54        /// <summary>
 55        /// Gets or sets the daily download limit.
 56        /// </summary>
 57        /// <value>The daily download limit.</value>
 58        public int? DailyDownloadLimit { get; set; }
 59
 60        /// <summary>
 61        /// Gets or sets a value indicating whether [supports downloading].
 62        /// </summary>
 63        /// <value><c>true</c> if [supports downloading]; otherwise, <c>false</c>.</value>
 64        public bool SupportsContentDownloading { get; set; }
 65    }
 66}

Methods/Properties

.ctor()