namespace Emby.Naming.ExternalFiles { /// /// Class holding information about external files. /// public class ExternalPathParserResult { /// /// Initializes a new instance of the class. /// /// Path to file. /// Is default. /// Is forced. /// For the hearing impaired. public ExternalPathParserResult(string path, bool isDefault = false, bool isForced = false, bool isHearingImpaired = false) { Path = path; IsDefault = isDefault; IsForced = isForced; IsHearingImpaired = isHearingImpaired; } /// /// Gets or sets the path. /// /// The path. public string Path { get; set; } /// /// Gets or sets the language. /// /// The language. public string? Language { get; set; } /// /// Gets or sets the title. /// /// The title. public string? Title { get; set; } /// /// Gets or sets a value indicating whether this instance is default. /// /// true if this instance is default; otherwise, false. public bool IsDefault { get; set; } /// /// Gets or sets a value indicating whether this instance is forced. /// /// true if this instance is forced; otherwise, false. public bool IsForced { get; set; } /// /// Gets or sets a value indicating whether this instance is for the hearing impaired. /// /// true if this instance is for the hearing impaired; otherwise, false. public bool IsHearingImpaired { get; set; } } }