FileSystemMetadata.cs 1.9 KB

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