HtmlControlPersistableAttribute.cs 484 B

1234567891011121314151617181920212223242526272829
  1. //
  2. // System.Web.UI.HtmlControlPersistableAttribute.cs
  3. //
  4. // Author:
  5. // Andreas Nahr ([email protected])
  6. //
  7. // (C) 2003 Andreas Nahr
  8. //
  9. using System;
  10. namespace System.Web.UI {
  11. [AttributeUsage (AttributeTargets.Property)]
  12. internal sealed class HtmlControlPersistableAttribute : Attribute
  13. {
  14. bool persist;
  15. public HtmlControlPersistableAttribute (bool persist)
  16. {
  17. this.persist = persist;
  18. }
  19. public bool Persist {
  20. get { return persist; }
  21. }
  22. }
  23. }