[prev in list] [next in list] [prev in thread] [next in thread] 

List:       mono-patches
Subject:    [Mono-patches] r70283 -
From:       "Vladimir Krasnov" <mono-patches-list () lists ! ximian ! com>
Date:       2006-12-31 14:37:19
Message-ID: 20061231143719.4F67D9472C () mono-cvs ! ximian ! com
[Download RAW message or body]

Author: krasnov
Date: 2006-12-31 09:37:19 -0500 (Sun, 31 Dec 2006)
New Revision: 70283

Modified:
   trunk/mcs/class/System.Web/System.Web.Profile/ChangeLog
   trunk/mcs/class/System.Web/System.Web.Profile/ProfileGroupBase.cs
Log:
* ProfileGroupBase.cs: fixed property name while getting from parent

Modified: trunk/mcs/class/System.Web/System.Web.Profile/ChangeLog
===================================================================
--- trunk/mcs/class/System.Web/System.Web.Profile/ChangeLog	2006-12-31 14:25:15 UTC (rev 70282)
+++ trunk/mcs/class/System.Web/System.Web.Profile/ChangeLog	2006-12-31 14:37:19 UTC (rev 70283)
@@ -1,5 +1,9 @@
 2006-12-26  Vladimir Krasnov  <vladimirk@mainsoft.com>
 
+	* ProfileGroupBase.cs: fixed property name while getting from parent
+
+2006-12-26  Vladimir Krasnov  <vladimirk@mainsoft.com>
+
 	* ProfileParser.jvm.cs: implemented PageMapper call
 	* ProfileBase.cs: fixed SettingsProperty type resolving, 
 	added SettingsProperty validation

Modified: trunk/mcs/class/System.Web/System.Web.Profile/ProfileGroupBase.cs
===================================================================
--- trunk/mcs/class/System.Web/System.Web.Profile/ProfileGroupBase.cs	2006-12-31 14:25:15 UTC (rev 70282)
+++ trunk/mcs/class/System.Web/System.Web.Profile/ProfileGroupBase.cs	2006-12-31 14:37:19 UTC (rev 70283)
@@ -49,13 +49,13 @@
 		}
 		
 		public object GetPropertyValue (string propertyName)
-		{
-			return _parent.GetPropertyValue (propertyName);
+		{
+			return _parent.GetPropertyValue (_name + "." + propertyName);
 		}
 
 		public void SetPropertyValue (string propertyName, object propertyValue)
-		{
-			_parent.SetPropertyValue (propertyName, propertyValue);
+		{
+			_parent.SetPropertyValue (_name + "." + propertyName, propertyValue);
 		}
 
 		public object this [string propertyName] {

_______________________________________________
Mono-patches maillist  -  Mono-patches@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-patches
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic