diff options
| author | Andrew Rabert <ar@nullsum.net> | 2018-12-27 18:27:57 -0500 |
|---|---|---|
| committer | Andrew Rabert <ar@nullsum.net> | 2018-12-27 18:27:57 -0500 |
| commit | a86b71899ec52c44ddc6c3018e8cc5e9d7ff4d62 (patch) | |
| tree | a74f6ea4a8abfa1664a605d31d48bc38245ccf58 /MediaBrowser.Model/IO/FileSystemMetadata.cs | |
| parent | 9bac3ac616b01f67db98381feb09d34ebe821f9a (diff) | |
Add GPL modules
Diffstat (limited to 'MediaBrowser.Model/IO/FileSystemMetadata.cs')
| -rw-r--r-- | MediaBrowser.Model/IO/FileSystemMetadata.cs | 54 |
1 files changed, 54 insertions, 0 deletions
diff --git a/MediaBrowser.Model/IO/FileSystemMetadata.cs b/MediaBrowser.Model/IO/FileSystemMetadata.cs new file mode 100644 index 000000000..665bc255c --- /dev/null +++ b/MediaBrowser.Model/IO/FileSystemMetadata.cs @@ -0,0 +1,54 @@ +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; } + } +} |
