Author: atsushi
Date: 2006-05-18 08:53:17 -0400 (Thu, 18 May 2006)
New Revision: 60816
Modified:
trunk/mcs/class/System.Web/System.Web.Configuration_2.0/ChangeLog
trunk/mcs/class/System.Web/System.Web.Configuration_2.0/WebConfigurationManager.cs
Log:
2006-05-18 Atsushi Enomoto <[EMAIL PROTECTED]>
* WebConfigurationManager.cs: recent sys.config.dll changes on
ConfigurationManager.GetSection() which should call
GetRuntimeObject() should also apply here. Fixed monodoc web.
Modified: trunk/mcs/class/System.Web/System.Web.Configuration_2.0/ChangeLog
===================================================================
--- trunk/mcs/class/System.Web/System.Web.Configuration_2.0/ChangeLog
2006-05-18 12:29:06 UTC (rev 60815)
+++ trunk/mcs/class/System.Web/System.Web.Configuration_2.0/ChangeLog
2006-05-18 12:53:17 UTC (rev 60816)
@@ -1,3 +1,9 @@
+2006-05-18 Atsushi Enomoto <[EMAIL PROTECTED]>
+
+ * WebConfigurationManager.cs: recent sys.config.dll changes on
+ ConfigurationManager.GetSection() which should call
+ GetRuntimeObject() should also apply here. Fixed monodoc web.
+
2006-05-10 Andrew Skiba <[EMAIL PROTECTED]>
* HttpHandlerAction.cs: keep the internal exception
Modified:
trunk/mcs/class/System.Web/System.Web.Configuration_2.0/WebConfigurationManager.cs
===================================================================
---
trunk/mcs/class/System.Web/System.Web.Configuration_2.0/WebConfigurationManager.cs
2006-05-18 12:29:06 UTC (rev 60815)
+++
trunk/mcs/class/System.Web/System.Web.Configuration_2.0/WebConfigurationManager.cs
2006-05-18 12:53:17 UTC (rev 60816)
@@ -233,6 +233,8 @@
return config;
}
+ static MethodInfo get_runtime_object = typeof
(ConfigurationSection).GetMethod ("GetRuntimeObject", BindingFlags.NonPublic |
BindingFlags.Instance);
+
[MonoTODO]
public static object GetWebApplicationSection (string
sectionName)
{
@@ -240,7 +242,7 @@
ConfigurationSection section = config.GetSection
(sectionName);
- return section;
+ return get_runtime_object.Invoke (section, new object
[0]);
}
public static NameValueCollection AppSettings {
_______________________________________________
Mono-patches maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches