* System.Web.dll.sources: added System.Web.Profile/ProfileParser.cs
[mono.git] / mcs / class / System.Web / System.Web.Profile / ProfileGroupBase.cs
index 6ba1467ab225b5e89102832b095e8dacdad03945..492e0ba94fc464e3501f311509a4d46e571a234c 100644 (file)
@@ -3,6 +3,7 @@
 //
 // Authors:
 //     Chris Toshok (toshok@ximian.com)
+//     Vladimir Krasnov (vladimirk@mainsoft.com)
 //
 // (C) 2005 Novell, Inc (http://www.novell.com)
 //
@@ -34,39 +35,37 @@ namespace System.Web.Profile
 {
        public class ProfileGroupBase
        {
-               [MonoTODO]
+               private ProfileBase _parent = null;
+               private string _name = null;
+
                public ProfileGroupBase ()
                {
                }
 
-               [MonoTODO]
-               public object GetPropertyValue (string propertyName)
+               public void Init (ProfileBase parent, string myName)
                {
-                       throw new NotImplementedException ();
+                       _parent = parent;
+                       _name = myName;
                }
-
-               [MonoTODO]
-               public void Init (ProfileBase parent, string myName)
+               
+               public object GetPropertyValue (string propertyName)
                {
-                       throw new NotImplementedException ();
+                       return _parent.GetPropertyValue (propertyName);
                }
 
-               [MonoTODO]
                public void SetPropertyValue (string propertyName, object propertyValue)
                {
-                       throw new NotImplementedException ();
+                       _parent.SetPropertyValue (propertyName, propertyValue);
                }
 
-               [MonoTODO]
                public object this [string propertyName] {
                        get {
-                               throw new NotImplementedException ();
+                               return GetPropertyValue (propertyName);
                        }
                        set {
-                               throw new NotImplementedException ();
+                               SetPropertyValue (propertyName, value);
                        }
                }
-
        }
 }