aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Model/IO/FileSystemEntryInfo.cs
blob: dc4840456c5d13fd8f853bb640dadad19cc35b19 (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
40
41
42
43
44
45
46
47
48
49
50
namespace MediaBrowser.Model.IO
{
    /// <summary>
    /// Class FileSystemEntryInfo
    /// </summary>
    public class FileSystemEntryInfo
    {
        /// <summary>
        /// Gets or sets the name.
        /// </summary>
        /// <value>The name.</value>
        public string Name { get; set; }

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

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

    /// <summary>
    /// Enum FileSystemEntryType
    /// </summary>
    public enum FileSystemEntryType
    {
        /// <summary>
        /// The file
        /// </summary>
        File,
        /// <summary>
        /// The directory
        /// </summary>
        Directory,
        /// <summary>
        /// The network computer
        /// </summary>
        NetworkComputer,
        /// <summary>
        /// The network share
        /// </summary>
        NetworkShare
    }
}