RemoteDirectoryInfo.cs 551 B

12345678910111213141516171819202122
  1. using System.Runtime.InteropServices;
  2. namespace WinSCP
  3. {
  4. [Guid("FBE2FACF-F1D5-493D-9E41-4B9B7243A676")]
  5. [ClassInterface(Constants.ClassInterface)]
  6. [ComVisible(true)]
  7. public sealed class RemoteDirectoryInfo
  8. {
  9. public RemoteFileInfoCollection Files { get; private set; }
  10. internal RemoteDirectoryInfo()
  11. {
  12. Files = new RemoteFileInfoCollection();
  13. }
  14. internal void AddFile(RemoteFileInfo file)
  15. {
  16. Files.InternalAdd(file);
  17. }
  18. }
  19. }