aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Model/IO/FileSystemEntryInfo.cs
diff options
context:
space:
mode:
authorLukePulverenti <luke.pulverenti@gmail.com>2013-02-20 20:33:05 -0500
committerLukePulverenti <luke.pulverenti@gmail.com>2013-02-20 20:33:05 -0500
commit767cdc1f6f6a63ce997fc9476911e2c361f9d402 (patch)
tree49add55976f895441167c66cfa95e5c7688d18ce /MediaBrowser.Model/IO/FileSystemEntryInfo.cs
parent845554722efaed872948a9e0f7202e3ef52f1b6e (diff)
Pushing missing changes
Diffstat (limited to 'MediaBrowser.Model/IO/FileSystemEntryInfo.cs')
-rw-r--r--MediaBrowser.Model/IO/FileSystemEntryInfo.cs55
1 files changed, 55 insertions, 0 deletions
diff --git a/MediaBrowser.Model/IO/FileSystemEntryInfo.cs b/MediaBrowser.Model/IO/FileSystemEntryInfo.cs
new file mode 100644
index 000000000..e6cfaa535
--- /dev/null
+++ b/MediaBrowser.Model/IO/FileSystemEntryInfo.cs
@@ -0,0 +1,55 @@
+using ProtoBuf;
+
+namespace MediaBrowser.Model.IO
+{
+ /// <summary>
+ /// Class FileSystemEntryInfo
+ /// </summary>
+ [ProtoContract]
+ public class FileSystemEntryInfo
+ {
+ /// <summary>
+ /// Gets or sets the name.
+ /// </summary>
+ /// <value>The name.</value>
+ [ProtoMember(1)]
+ public string Name { get; set; }
+
+ /// <summary>
+ /// Gets or sets the path.
+ /// </summary>
+ /// <value>The path.</value>
+ [ProtoMember(2)]
+ public string Path { get; set; }
+
+ /// <summary>
+ /// Gets or sets the type.
+ /// </summary>
+ /// <value>The type.</value>
+ [ProtoMember(3)]
+ 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
+ }
+}