< Summary - Jellyfin

Information
Class: MediaBrowser.Model.Dto.MetadataEditorInfo
Assembly: MediaBrowser.Model
File(s): /srv/git/jellyfin/MediaBrowser.Model/Dto/MetadataEditorInfo.cs
Line coverage
0%
Covered lines: 0
Uncovered lines: 6
Coverable lines: 6
Total lines: 35
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/Dto/MetadataEditorInfo.cs

#LineLine coverage
 1#pragma warning disable CS1591
 2
 3using System;
 4using System.Collections.Generic;
 5using Jellyfin.Data.Enums;
 6using MediaBrowser.Model.Entities;
 7using MediaBrowser.Model.Globalization;
 8using MediaBrowser.Model.Providers;
 9
 10namespace MediaBrowser.Model.Dto
 11{
 12    public class MetadataEditorInfo
 13    {
 14        public MetadataEditorInfo()
 15        {
 016            ParentalRatingOptions = Array.Empty<ParentalRating>();
 017            Countries = Array.Empty<CountryInfo>();
 018            Cultures = Array.Empty<CultureDto>();
 019            ExternalIdInfos = Array.Empty<ExternalIdInfo>();
 020            ContentTypeOptions = Array.Empty<NameValuePair>();
 021        }
 22
 23        public IReadOnlyList<ParentalRating> ParentalRatingOptions { get; set; }
 24
 25        public IReadOnlyList<CountryInfo> Countries { get; set; }
 26
 27        public IReadOnlyList<CultureDto> Cultures { get; set; }
 28
 29        public IReadOnlyList<ExternalIdInfo> ExternalIdInfos { get; set; }
 30
 31        public CollectionType? ContentType { get; set; }
 32
 33        public IReadOnlyList<NameValuePair> ContentTypeOptions { get; set; }
 34    }
 35}

Methods/Properties

.ctor()