FileSystemEntryInfo.cs 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. namespace MediaBrowser.Model.IO
  2. {
  3. /// <summary>
  4. /// Class FileSystemEntryInfo.
  5. /// </summary>
  6. public class FileSystemEntryInfo
  7. {
  8. /// <summary>
  9. /// Initializes a new instance of the <see cref="FileSystemEntryInfo" /> class.
  10. /// </summary>
  11. /// <param name="name">The filename.</param>
  12. /// <param name="path">The file path.</param>
  13. /// <param name="type">The file type.</param>
  14. public FileSystemEntryInfo(string name, string path, FileSystemEntryType type)
  15. {
  16. Name = name;
  17. Path = path;
  18. Type = type;
  19. }
  20. /// <summary>
  21. /// Gets the name.
  22. /// </summary>
  23. /// <value>The name.</value>
  24. public string Name { get; }
  25. /// <summary>
  26. /// Gets the path.
  27. /// </summary>
  28. /// <value>The path.</value>
  29. public string Path { get; }
  30. /// <summary>
  31. /// Gets the type.
  32. /// </summary>
  33. /// <value>The type.</value>
  34. public FileSystemEntryType Type { get; }
  35. }
  36. }