Ver Fonte

* AuthorizationRule.cs (Reset): finally figure out what this
method is supposed to do. Assign our Action property based on
parentElement's.

2006-04-25 Chris Toshok <[email protected]>


svn path=/trunk/mcs/; revision=59880

Chris Toshok há 19 anos atrás
pai
commit
d3efce4e2e

+ 3 - 1
mcs/class/System.Web/System.Web.Configuration_2.0/AuthorizationRule.cs

@@ -151,9 +151,11 @@ namespace System.Web.Configuration {
 			VerifyData ();
 		}
 
-		[MonoTODO]
 		protected override void Reset (ConfigurationElement parentElement)
 		{
+			AuthorizationRule r = (AuthorizationRule)parentElement;
+			Action = r.Action;
+
 			base.Reset (parentElement);
 		}
 

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

@@ -1,3 +1,9 @@
+2006-04-25  Chris Toshok  <[email protected]>
+
+	* AuthorizationRule.cs (Reset): finally figure out what this
+	method is supposed to do.  Assign our Action property based on
+	parentElement's.
+
 2006-04-25  Chris Toshok  <[email protected]>
 
 	* WebConfigurationHost.cs (InitForConfiguration): actually, use