2018-12-27 23:27:57 +00:00
|
|
|
namespace MediaBrowser.Model.IO
|
|
|
|
{
|
|
|
|
/// <summary>
|
2020-04-05 16:10:56 +00:00
|
|
|
/// Class FileSystemEntryInfo.
|
2018-12-27 23:27:57 +00:00
|
|
|
/// </summary>
|
|
|
|
public class FileSystemEntryInfo
|
|
|
|
{
|
|
|
|
/// <summary>
|
2020-04-05 16:10:56 +00:00
|
|
|
/// Initializes a new instance of the <see cref="FileSystemEntryInfo" /> class.
|
|
|
|
/// </summary>
|
|
|
|
/// <param name="name">The filename.</param>
|
|
|
|
/// <param name="path">The file path.</param>
|
|
|
|
/// <param name="type">The file type.</param>
|
|
|
|
public FileSystemEntryInfo(string name, string path, FileSystemEntryType type)
|
|
|
|
{
|
|
|
|
Name = name;
|
|
|
|
Path = path;
|
|
|
|
Type = type;
|
|
|
|
}
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// Gets the name.
|
2018-12-27 23:27:57 +00:00
|
|
|
/// </summary>
|
|
|
|
/// <value>The name.</value>
|
2020-04-05 16:10:56 +00:00
|
|
|
public string Name { get; }
|
2018-12-27 23:27:57 +00:00
|
|
|
|
|
|
|
/// <summary>
|
2020-04-05 16:10:56 +00:00
|
|
|
/// Gets the path.
|
2018-12-27 23:27:57 +00:00
|
|
|
/// </summary>
|
|
|
|
/// <value>The path.</value>
|
2020-04-05 16:10:56 +00:00
|
|
|
public string Path { get; }
|
2018-12-27 23:27:57 +00:00
|
|
|
|
|
|
|
/// <summary>
|
2020-04-05 16:10:56 +00:00
|
|
|
/// Gets the type.
|
2018-12-27 23:27:57 +00:00
|
|
|
/// </summary>
|
|
|
|
/// <value>The type.</value>
|
2020-04-05 16:10:56 +00:00
|
|
|
public FileSystemEntryType Type { get; }
|
2018-12-27 23:27:57 +00:00
|
|
|
}
|
|
|
|
}
|