FileSystemMetadata.cs 1.7 KB

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