2003-07-17 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
[mono.git] / mcs / class / System.Web / System.Web.UI / ConstructorNeedsTagAttribute.cs
1 //
2 // System.Web.UI.ConstructorNeedsTagAttribute.cs
3 //
4 // Duncan Mak  (duncan@ximian.com)
5 //
6 // (C) Ximian, Inc.
7
8 using System;
9
10 namespace System.Web.UI {
11
12         [AttributeUsage (AttributeTargets.Class)]
13         public sealed class ConstructorNeedsTagAttribute : Attribute
14         {
15                 bool needsTag;
16
17                 public ConstructorNeedsTagAttribute ()
18                 {
19                         needsTag = false;
20                 }
21
22                 public ConstructorNeedsTagAttribute (bool needsTag)
23                 {
24                         this.needsTag = needsTag;
25                 }
26
27                 public bool NeedsTag {
28                         get { return needsTag; }
29                 }
30         }
31 }