Arguments.cs 808 B

1234567891011121314151617181920212223242526272829303132
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Text.RegularExpressions;
  4. namespace De.Thekid.INotify
  5. {
  6. public class Arguments
  7. {
  8. // Default values
  9. private List<string> _Events = new List<string>(new string[] { "create", "modify", "delete", "move" });
  10. private string[] _Format = new string[] { "w", " ", "e", " ", "f" };
  11. private List<string> _Paths = new List<string>();
  12. public bool Recursive { get; set; }
  13. public bool Monitor { get; set; }
  14. public bool Quiet { get; set; }
  15. public List<string> Paths {
  16. get { return this._Paths; }
  17. }
  18. public string[] Format {
  19. get { return this._Format; }
  20. set { this._Format = value; }
  21. }
  22. public List<string> Events
  23. {
  24. get { return this._Events; }
  25. set { this._Events = value; }
  26. }
  27. public Regex Exclude { get; set; }
  28. }
  29. }