FileSystemMetadata.cs 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. using System;
  2. namespace MediaBrowser.Model.IO
  3. {
  4. public class FileSystemMetadata
  5. {
  6. /// <summary>
  7. /// Gets or sets a value indicating whether this <see cref="FileSystemMetadata"/> is exists.
  8. /// </summary>
  9. /// <value><c>true</c> if exists; otherwise, <c>false</c>.</value>
  10. public bool Exists { get; set; }
  11. /// <summary>
  12. /// Gets or sets the full name.
  13. /// </summary>
  14. /// <value>The full name.</value>
  15. public string FullName { get; set; }
  16. /// <summary>
  17. /// Gets or sets the name.
  18. /// </summary>
  19. /// <value>The name.</value>
  20. public string Name { get; set; }
  21. /// <summary>
  22. /// Gets or sets the extension.
  23. /// </summary>
  24. /// <value>The extension.</value>
  25. public string Extension { get; set; }
  26. /// <summary>
  27. /// Gets or sets the length.
  28. /// </summary>
  29. /// <value>The length.</value>
  30. public long Length { get; set; }
  31. /// <summary>
  32. /// Gets or sets the name of the directory.
  33. /// </summary>
  34. /// <value>The name of the directory.</value>
  35. public string DirectoryName { get; set; }
  36. /// <summary>
  37. /// Gets or sets the last write time UTC.
  38. /// </summary>
  39. /// <value>The last write time UTC.</value>
  40. public DateTime LastWriteTimeUtc { get; set; }
  41. /// <summary>
  42. /// Gets or sets the creation time UTC.
  43. /// </summary>
  44. /// <value>The creation time UTC.</value>
  45. public DateTime CreationTimeUtc { get; set; }
  46. /// <summary>
  47. /// Gets a value indicating whether this instance is directory.
  48. /// </summary>
  49. /// <value><c>true</c> if this instance is directory; otherwise, <c>false</c>.</value>
  50. public bool IsDirectory { get; set; }
  51. }
  52. }