svn path=/branches/mono-1-1-9/mcs/; revision=51212
[mono.git] / mcs / class / System.Web / System.Web.UI.WebControls / DataControlCommands.cs
index 159fb043ad074ccf28d5ee9a907876bd0c5c098b..f3ee9c5b1f3f4829b8424879d8dbffe1f0bdc9f9 100644 (file)
 //
 
 #if NET_2_0
-using System.Security.Permissions;
+using System.Web.UI;
 
-namespace System.Web.UI.WebControls {
-
-       // CAS
-       [AspNetHostingPermissionAttribute (SecurityAction.LinkDemand, Level = AspNetHostingPermissionLevel.Minimal)]
+namespace System.Web.UI.WebControls
+{
        public sealed class DataControlCommands
        {
                public const string CancelCommandName = "Cancel";\r
@@ -49,11 +47,7 @@ namespace System.Web.UI.WebControls {
                public const string PreviousPageCommandArgument = "Prev";\r
                public const string SelectCommandName = "Select";\r
                public const string SortCommandName = "Sort";\r
-               public const string UpdateCommandName = "Update";
-
-               private DataControlCommands ()
-               {
-               }\r
+               public const string UpdateCommandName = "Update";\r
        }
 }
 #endif