aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Model/IO/FileSystemEntryInfo.cs
blob: 36ff5d041fc786c7f5fa3d0dfbf30295c010fc5f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
namespace MediaBrowser.Model.IO
{
    /// <summary>
    /// Class FileSystemEntryInfo.
    /// </summary>
    public class FileSystemEntryInfo
    {
        /// <summary>
        /// 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.
        /// </summary>
        /// <value>The name.</value>
        public string Name { get; }

        /// <summary>
        /// Gets the path.
        /// </summary>
        /// <value>The path.</value>
        public string Path { get; }

        /// <summary>
        /// Gets the type.
        /// </summary>
        /// <value>The type.</value>
        public FileSystemEntryType Type { get; }
    }
}