2003-07-17 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
[mono.git] / mcs / class / System.Web / System.Web.UI / HtmlControlPersistableAttribute.cs
1 //
2 // System.Web.UI.HtmlControlPersistableAttribute.cs
3 //
4 // Author:
5 //   Andreas Nahr (ClassDevelopment@A-SoftTech.com)
6 //
7 // (C) 2003 Andreas Nahr
8 //
9
10 using System;
11
12 namespace System.Web.UI {
13
14         [AttributeUsage (AttributeTargets.Property)]
15         internal sealed class HtmlControlPersistableAttribute : Attribute
16         {
17                 bool persist;
18                 
19                 public HtmlControlPersistableAttribute (bool persist)
20                 {
21                         this.persist = persist;
22                 }
23
24                 public bool Persist {
25                         get { return persist; }
26                 }
27         }
28 }
29