FileChangedEventArgs.cs 716 B

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. /**
  2. * Namespace: System.Web.Utils
  3. * Class: FileChangedEventArgs
  4. *
  5. * Author: Gaurav Vaish
  6. * Maintainer: [email protected]
  7. * Contact: <[email protected]>, <[email protected]>
  8. * Implementation: yes
  9. * Status: ??%
  10. *
  11. * (C) Gaurav Vaish (2001)
  12. */
  13. namespace System.Web.Utils
  14. {
  15. internal class FileChangedEventArgs : EventArgs
  16. {
  17. private string filename;
  18. private FileAction action;
  19. public void FileChangedEvent(FileAction action, string file)
  20. {
  21. this.action = action;
  22. this.filename = file;
  23. }
  24. public string FileName
  25. {
  26. get
  27. {
  28. return filename;
  29. }
  30. }
  31. public FileAction Action
  32. {
  33. get
  34. {
  35. return action;
  36. }
  37. }
  38. }
  39. }