TraceConfig.cs 931 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. //
  2. // System.Web.Configuration.TraceConfig
  3. //
  4. // Author(s):
  5. // Jackson Harper ([email protected])
  6. //
  7. // (C) 2004 Novell, Inc (http://www.novell.com)
  8. //
  9. using System;
  10. using System.Web;
  11. namespace System.Web.Configuration {
  12. internal class TraceConfig {
  13. private bool enabled;
  14. private bool local_only;
  15. private bool page_output;
  16. private int request_limit;
  17. private TraceMode trace_mode;
  18. public TraceConfig ()
  19. {
  20. request_limit = 10;
  21. }
  22. public bool Enabled {
  23. get { return enabled; }
  24. set { enabled = value; }
  25. }
  26. public bool LocalOnly {
  27. get { return local_only; }
  28. set { local_only = value; }
  29. }
  30. public bool PageOutput {
  31. get { return page_output; }
  32. set { page_output = value; }
  33. }
  34. public int RequestLimit {
  35. get { return request_limit; }
  36. set { request_limit = value; }
  37. }
  38. public TraceMode TraceMode {
  39. get { return trace_mode; }
  40. set { trace_mode = value; }
  41. }
  42. }
  43. }