X-Git-Url: http://wien.tomnetworks.com/gitweb/?a=blobdiff_plain;f=mcs%2Fclass%2FSystem.Web%2FSystem.Web.UI.WebControls%2FDataControlCommands.cs;h=f3ee9c5b1f3f4829b8424879d8dbffe1f0bdc9f9;hb=bd9f9ee7cb81823608edc76ef9d0b6416783fe71;hp=159fb043ad074ccf28d5ee9a907876bd0c5c098b;hpb=55f083bfd72558e0dcd0f44ab4f9fecd2f96c749;p=mono.git diff --git a/mcs/class/System.Web/System.Web.UI.WebControls/DataControlCommands.cs b/mcs/class/System.Web/System.Web.UI.WebControls/DataControlCommands.cs index 159fb043ad0..f3ee9c5b1f3 100644 --- a/mcs/class/System.Web/System.Web.UI.WebControls/DataControlCommands.cs +++ b/mcs/class/System.Web/System.Web.UI.WebControls/DataControlCommands.cs @@ -29,12 +29,10 @@ // #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"; @@ -49,11 +47,7 @@ namespace System.Web.UI.WebControls { public const string PreviousPageCommandArgument = "Prev"; public const string SelectCommandName = "Select"; public const string SortCommandName = "Sort"; - public const string UpdateCommandName = "Update"; - - private DataControlCommands () - { - } + public const string UpdateCommandName = "Update"; } } #endif