Browse Source

* HttpHandlerAction.cs: fixed 'verb' config property

svn path=/trunk/mcs/; revision=69589
Vladimir Krasnov 19 years ago
parent
commit
0cd237bfa0

+ 4 - 0
mcs/class/System.Web/System.Web.Configuration_2.0/ChangeLog

@@ -1,3 +1,7 @@
+2006-12-17  Vladimir Krasnov  <[email protected]>
+
+	* HttpHandlerAction.cs: fixed 'verb' config property
+
 2006-12-07  Igor Zelmanovich  <[email protected]>
 
 	* ProvidersHelper.cs: fixed: load assembles from /bin

+ 2 - 2
mcs/class/System.Web/System.Web.Configuration_2.0/HttpHandlerAction.cs

@@ -59,8 +59,8 @@ namespace System.Web.Configuration
 			validateProp = new ConfigurationProperty ("validate", typeof (bool), true);
 			verbProp = new ConfigurationProperty ("verb", typeof (string), null,
 							      TypeDescriptor.GetConverter (typeof (string)),
-							      PropertyHelper.NonEmptyStringValidator,
-							      ConfigurationPropertyOptions.IsRequired);
+							      PropertyHelper.NonEmptyStringValidator,
+							      ConfigurationPropertyOptions.IsRequired | ConfigurationPropertyOptions.IsKey);
 
 			_properties = new ConfigurationPropertyCollection ();
 			_properties.Add (pathProp);