FileSystemEventArgs.cs 902 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. //
  2. // System.IO.FileSystemEventArgs.cs
  3. //
  4. // Author:
  5. // Tim Coleman ([email protected])
  6. //
  7. // Copyright (C) Tim Coleman, 2002
  8. //
  9. using System;
  10. namespace System.IO {
  11. public class FileSystemEventArgs : EventArgs {
  12. #region Fields
  13. WatcherChangeTypes changeType;
  14. string directory;
  15. string name;
  16. #endregion // Fields
  17. #region Constructors
  18. public FileSystemEventArgs (WatcherChangeTypes changeType, string directory, string name)
  19. {
  20. this.changeType = changeType;
  21. this.directory = directory;
  22. this.name = name;
  23. }
  24. #endregion // Constructors
  25. #region Properties
  26. public WatcherChangeTypes ChangeType {
  27. get { return changeType; }
  28. }
  29. public string FullPath {
  30. [MonoTODO]
  31. get { throw new NotImplementedException (); }
  32. }
  33. public string Name {
  34. get { return name; }
  35. }
  36. #endregion // Properties
  37. }
  38. }