aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Model/IO/FileSystemMetadata.cs
diff options
context:
space:
mode:
authorLuke <luke.pulverenti@gmail.com>2016-12-18 00:44:33 -0500
committerGitHub <noreply@github.com>2016-12-18 00:44:33 -0500
commite7cebb91a73354dc3e0d0b6340c9fbd6511f4406 (patch)
tree6f1c368c766c17b7514fe749c0e92e69cd89194a /MediaBrowser.Model/IO/FileSystemMetadata.cs
parent025905a3e4d50b9a2e07fbf4ff0a203af6604ced (diff)
parentaaa027f3229073e9a40756c3157d41af2a442922 (diff)
Merge pull request #2350 from MediaBrowser/beta
Beta
Diffstat (limited to 'MediaBrowser.Model/IO/FileSystemMetadata.cs')
-rw-r--r--MediaBrowser.Model/IO/FileSystemMetadata.cs56
1 files changed, 56 insertions, 0 deletions
diff --git a/MediaBrowser.Model/IO/FileSystemMetadata.cs b/MediaBrowser.Model/IO/FileSystemMetadata.cs
new file mode 100644
index 000000000..2aae4bb54
--- /dev/null
+++ b/MediaBrowser.Model/IO/FileSystemMetadata.cs
@@ -0,0 +1,56 @@
+using System;
+
+namespace MediaBrowser.Model.IO
+{
+ public class FileSystemMetadata
+ {
+ /// <summary>
+ /// Gets or sets a value indicating whether this <see cref="FileSystemMetadata"/> is exists.
+ /// </summary>
+ /// <value><c>true</c> if exists; otherwise, <c>false</c>.</value>
+ public bool Exists { get; set; }
+ /// <summary>
+ /// Gets or sets the full name.
+ /// </summary>
+ /// <value>The full name.</value>
+ public string FullName { get; set; }
+ /// <summary>
+ /// Gets or sets the name.
+ /// </summary>
+ /// <value>The name.</value>
+ public string Name { get; set; }
+ /// <summary>
+ /// Gets or sets the extension.
+ /// </summary>
+ /// <value>The extension.</value>
+ public string Extension { get; set; }
+ /// <summary>
+ /// Gets or sets the length.
+ /// </summary>
+ /// <value>The length.</value>
+ public long Length { get; set; }
+ /// <summary>
+ /// Gets or sets the name of the directory.
+ /// </summary>
+ /// <value>The name of the directory.</value>
+ public string DirectoryName { get; set; }
+
+ /// <summary>
+ /// Gets or sets the last write time UTC.
+ /// </summary>
+ /// <value>The last write time UTC.</value>
+ public DateTime LastWriteTimeUtc { get; set; }
+ /// <summary>
+ /// Gets or sets the creation time UTC.
+ /// </summary>
+ /// <value>The creation time UTC.</value>
+ public DateTime CreationTimeUtc { get; set; }
+ /// <summary>
+ /// Gets a value indicating whether this instance is directory.
+ /// </summary>
+ /// <value><c>true</c> if this instance is directory; otherwise, <c>false</c>.</value>
+ public bool IsDirectory { get; set; }
+ public bool IsHidden { get; set; }
+ public bool IsReadOnly { get; set; }
+ }
+}