From 767cdc1f6f6a63ce997fc9476911e2c361f9d402 Mon Sep 17 00:00:00 2001 From: LukePulverenti Date: Wed, 20 Feb 2013 20:33:05 -0500 Subject: Pushing missing changes --- MediaBrowser.Model/IO/FileSystemEntryInfo.cs | 55 ++++++++++++++++++++++++++++ 1 file changed, 55 insertions(+) create mode 100644 MediaBrowser.Model/IO/FileSystemEntryInfo.cs (limited to 'MediaBrowser.Model/IO/FileSystemEntryInfo.cs') 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 +{ + /// + /// Class FileSystemEntryInfo + /// + [ProtoContract] + public class FileSystemEntryInfo + { + /// + /// Gets or sets the name. + /// + /// The name. + [ProtoMember(1)] + public string Name { get; set; } + + /// + /// Gets or sets the path. + /// + /// The path. + [ProtoMember(2)] + public string Path { get; set; } + + /// + /// Gets or sets the type. + /// + /// The type. + [ProtoMember(3)] + public FileSystemEntryType Type { get; set; } + } + + /// + /// Enum FileSystemEntryType + /// + public enum FileSystemEntryType + { + /// + /// The file + /// + File, + /// + /// The directory + /// + Directory, + /// + /// The network computer + /// + NetworkComputer, + /// + /// The network share + /// + NetworkShare + } +} -- cgit v1.2.3