< Summary - Jellyfin

Information
Class: Emby.Naming.ExternalFiles.ExternalPathParserResult
Assembly: Emby.Naming
File(s): /srv/git/jellyfin/Emby.Naming/ExternalFiles/ExternalPathParserResult.cs
Line coverage
100%
Covered lines: 5
Uncovered lines: 0
Coverable lines: 5
Total lines: 59
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.Naming/ExternalFiles/ExternalPathParserResult.cs

#LineLine coverage
 1namespace Emby.Naming.ExternalFiles
 2{
 3    /// <summary>
 4    /// Class holding information about external files.
 5    /// </summary>
 6    public class ExternalPathParserResult
 7    {
 8        /// <summary>
 9        /// Initializes a new instance of the <see cref="ExternalPathParserResult"/> class.
 10        /// </summary>
 11        /// <param name="path">Path to file.</param>
 12        /// <param name="isDefault">Is default.</param>
 13        /// <param name="isForced">Is forced.</param>
 14        /// <param name="isHearingImpaired">For the hearing impaired.</param>
 15        public ExternalPathParserResult(string path, bool isDefault = false, bool isForced = false, bool isHearingImpair
 16        {
 5317            Path = path;
 5318            IsDefault = isDefault;
 5319            IsForced = isForced;
 5320            IsHearingImpaired = isHearingImpaired;
 5321        }
 22
 23        /// <summary>
 24        /// Gets or sets the path.
 25        /// </summary>
 26        /// <value>The path.</value>
 27        public string Path { get; set; }
 28
 29        /// <summary>
 30        /// Gets or sets the language.
 31        /// </summary>
 32        /// <value>The language.</value>
 33        public string? Language { get; set; }
 34
 35        /// <summary>
 36        /// Gets or sets the title.
 37        /// </summary>
 38        /// <value>The title.</value>
 39        public string? Title { get; set; }
 40
 41        /// <summary>
 42        /// Gets or sets a value indicating whether this instance is default.
 43        /// </summary>
 44        /// <value><c>true</c> if this instance is default; otherwise, <c>false</c>.</value>
 45        public bool IsDefault { get; set; }
 46
 47        /// <summary>
 48        /// Gets or sets a value indicating whether this instance is forced.
 49        /// </summary>
 50        /// <value><c>true</c> if this instance is forced; otherwise, <c>false</c>.</value>
 51        public bool IsForced { get; set; }
 52
 53        /// <summary>
 54        /// Gets or sets a value indicating whether this instance is for the hearing impaired.
 55        /// </summary>
 56        /// <value><c>true</c> if this instance is for the hearing impaired; otherwise, <c>false</c>.</value>
 57        public bool IsHearingImpaired { get; set; }
 58    }
 59}