You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
52 lines
1.7 KiB
52 lines
1.7 KiB
3 years ago
|
namespace Emby.Naming.ExternalFiles
|
||
6 years ago
|
{
|
||
4 years ago
|
/// <summary>
|
||
3 years ago
|
/// Class holding information about external files.
|
||
4 years ago
|
/// </summary>
|
||
3 years ago
|
public class ExternalPathParserResult
|
||
6 years ago
|
{
|
||
4 years ago
|
/// <summary>
|
||
3 years ago
|
/// Initializes a new instance of the <see cref="ExternalPathParserResult"/> class.
|
||
4 years ago
|
/// </summary>
|
||
|
/// <param name="path">Path to file.</param>
|
||
3 years ago
|
/// <param name="isDefault">Is default.</param>
|
||
|
/// <param name="isForced">Is forced.</param>
|
||
3 years ago
|
public ExternalPathParserResult(string path, bool isDefault = false, bool isForced = false)
|
||
4 years ago
|
{
|
||
|
Path = path;
|
||
|
IsDefault = isDefault;
|
||
|
IsForced = isForced;
|
||
|
}
|
||
|
|
||
6 years ago
|
/// <summary>
|
||
|
/// Gets or sets the path.
|
||
|
/// </summary>
|
||
|
/// <value>The path.</value>
|
||
|
public string Path { get; set; }
|
||
6 years ago
|
|
||
6 years ago
|
/// <summary>
|
||
|
/// Gets or sets the language.
|
||
|
/// </summary>
|
||
|
/// <value>The language.</value>
|
||
4 years ago
|
public string? Language { get; set; }
|
||
6 years ago
|
|
||
3 years ago
|
/// <summary>
|
||
|
/// Gets or sets the title.
|
||
|
/// </summary>
|
||
|
/// <value>The title.</value>
|
||
|
public string? Title { get; set; }
|
||
|
|
||
6 years ago
|
/// <summary>
|
||
|
/// Gets or sets a value indicating whether this instance is default.
|
||
|
/// </summary>
|
||
|
/// <value><c>true</c> if this instance is default; otherwise, <c>false</c>.</value>
|
||
|
public bool IsDefault { get; set; }
|
||
6 years ago
|
|
||
6 years ago
|
/// <summary>
|
||
|
/// Gets or sets a value indicating whether this instance is forced.
|
||
|
/// </summary>
|
||
|
/// <value><c>true</c> if this instance is forced; otherwise, <c>false</c>.</value>
|
||
|
public bool IsForced { get; set; }
|
||
|
}
|
||
|
}
|