2007-04-06 Marek Habersack <mhabersack@novell.com>
[mono.git] / mcs / class / System.Web / System.Web.UI / DataBindingHandlerAttribute.cs
index f535516bd24273bd1a4d52799431369230c68f1d..493fa558d777682ad94aa5baefe4c108e2672ace 100644 (file)
@@ -1,5 +1,5 @@
 //
-// System.Web.UI.WebControls.CommandEventArgs.cs
+// System.Web.UI.WebControls.DataBindingHandlerAttribute class
 //
 // Author: Duncan Mak (duncan@novell.com)
 //
 // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
 //
 
+using System.Security.Permissions;
+
 namespace System.Web.UI {
 
+       // CAS - no InheritanceDemand here as the class is sealed
+       [AspNetHostingPermission (SecurityAction.LinkDemand, Level = AspNetHostingPermissionLevel.Minimal)]
+       // attributes
        [AttributeUsage (AttributeTargets.Class)]
        public sealed class DataBindingHandlerAttribute : Attribute
        {