2005-09-19 Chris Toshok <toshok@ximian.com>
authorChris Toshok <toshok@novell.com>
Mon, 19 Sep 2005 18:53:58 +0000 (18:53 -0000)
committerChris Toshok <toshok@novell.com>
Mon, 19 Sep 2005 18:53:58 +0000 (18:53 -0000)
* System.Configuration/SettingsProvider.cs,
System.Configuration/SettingsPropertyValueCollection.cs,
System.Configuration/SettingsPropertyCollection.cs,
System.Configuration/SettingsProviderCollection.cs,
System.Configuration/SettingsBase.cs,
System.Configuration/SettingsSerializeAs.cs,
System.Configuration/SettingsPropertyValue.cs,
System.Configuration/SettingsProperty.cs,
System.Configuration/SettingsContext.cs,
System.Configuration/SettingsAttributeDictionary.cs: new files.

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

mcs/class/System/System.Configuration/ChangeLog
mcs/class/System/System.Configuration/SettingsAttributeDictionary.cs [new file with mode: 0644]
mcs/class/System/System.Configuration/SettingsBase.cs [new file with mode: 0644]
mcs/class/System/System.Configuration/SettingsContext.cs [new file with mode: 0644]
mcs/class/System/System.Configuration/SettingsProperty.cs [new file with mode: 0644]
mcs/class/System/System.Configuration/SettingsPropertyCollection.cs [new file with mode: 0644]
mcs/class/System/System.Configuration/SettingsPropertyValue.cs [new file with mode: 0644]
mcs/class/System/System.Configuration/SettingsPropertyValueCollection.cs [new file with mode: 0644]
mcs/class/System/System.Configuration/SettingsProvider.cs [new file with mode: 0644]
mcs/class/System/System.Configuration/SettingsProviderCollection.cs [new file with mode: 0644]
mcs/class/System/System.Configuration/SettingsSerializeAs.cs [new file with mode: 0644]

index 5bd4bcc01721a0e850e60ed627a82529cb31a26f..6cb9edee31c0e29f3ffda35dcbf78086d71f9c81 100644 (file)
@@ -1,3 +1,16 @@
+2005-09-19  Chris Toshok  <toshok@ximian.com>
+
+       * System.Configuration/SettingsProvider.cs,
+       System.Configuration/SettingsPropertyValueCollection.cs,
+       System.Configuration/SettingsPropertyCollection.cs,
+       System.Configuration/SettingsProviderCollection.cs,
+       System.Configuration/SettingsBase.cs,
+       System.Configuration/SettingsSerializeAs.cs,
+       System.Configuration/SettingsPropertyValue.cs,
+       System.Configuration/SettingsProperty.cs,
+       System.Configuration/SettingsContext.cs,
+       System.Configuration/SettingsAttributeDictionary.cs: new files.
+
 2005-07-05  Raja R Harinath  <rharinath@novell.com>
 
        * ConfigurationSettings.cs (ConnectionStrings): Change XML_DEP
diff --git a/mcs/class/System/System.Configuration/SettingsAttributeDictionary.cs b/mcs/class/System/System.Configuration/SettingsAttributeDictionary.cs
new file mode 100644 (file)
index 0000000..a9cbd2d
--- /dev/null
@@ -0,0 +1,50 @@
+//
+// System.Web.UI.WebControls.SettingsProperty.cs
+//
+// Authors:
+//     Chris Toshok (toshok@ximian.com)
+//
+// (C) 2005 Novell, Inc (http://www.novell.com)
+//
+// Permission is hereby granted, free of charge, to any person obtaining
+// a copy of this software and associated documentation files (the
+// "Software"), to deal in the Software without restriction, including
+// without limitation the rights to use, copy, modify, merge, publish,
+// distribute, sublicense, and/or sell copies of the Software, and to
+// permit persons to whom the Software is furnished to do so, subject to
+// the following conditions:
+// 
+// The above copyright notice and this permission notice shall be
+// included in all copies or substantial portions of the Software.
+// 
+// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
+// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
+// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
+// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+//
+
+#if NET_2_0
+using System;
+using System.Collections;
+
+namespace System.Configuration
+{
+       [SerializableAttribute] 
+       public class SettingsAttributeDictionary : Hashtable
+       {
+               public SettingsAttributeDictionary ()
+               {
+               }
+
+               public SettingsAttributeDictionary (SettingsAttributeDictionary attributes)
+                       : base (attributes)
+               {
+               }
+
+       }
+}
+
+#endif
diff --git a/mcs/class/System/System.Configuration/SettingsBase.cs b/mcs/class/System/System.Configuration/SettingsBase.cs
new file mode 100644 (file)
index 0000000..abb20cc
--- /dev/null
@@ -0,0 +1,103 @@
+//
+// System.Web.UI.WebControls.SettingsBase.cs
+//
+// Authors:
+//     Chris Toshok (toshok@ximian.com)
+//
+// (C) 2005 Novell, Inc (http://www.novell.com)
+//
+// Permission is hereby granted, free of charge, to any person obtaining
+// a copy of this software and associated documentation files (the
+// "Software"), to deal in the Software without restriction, including
+// without limitation the rights to use, copy, modify, merge, publish,
+// distribute, sublicense, and/or sell copies of the Software, and to
+// permit persons to whom the Software is furnished to do so, subject to
+// the following conditions:
+// 
+// The above copyright notice and this permission notice shall be
+// included in all copies or substantial portions of the Software.
+// 
+// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
+// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
+// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
+// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+//
+
+#if NET_2_0
+using System;
+using System.ComponentModel;
+
+namespace System.Configuration
+{
+
+       public abstract class SettingsBase
+       {
+               protected SettingsBase ()
+               {
+                       throw new NotImplementedException ();
+               }
+
+               public void Initialize (SettingsContext context,    
+                                       SettingsPropertyCollection properties,
+                                       SettingsProviderCollection providers)
+               {
+                       throw new NotImplementedException ();
+               }
+
+               public virtual void Save ()
+               {
+                       throw new NotImplementedException ();
+               }
+
+               public static SettingsBase Synchronized (SettingsBase settingsBase)
+               {
+                       throw new NotImplementedException ();
+               }
+
+               public virtual SettingsContext Context {
+                       get {
+                               throw new NotImplementedException ();
+                       }
+               }
+
+               [Browsable (false)]
+               public bool IsSynchronized {
+                       get {
+                               throw new NotImplementedException ();
+                       }
+               }
+
+               public virtual object this [ string propertyName ] {
+                       get {
+                               throw new NotImplementedException ();
+                       }
+                       set {
+                               throw new NotImplementedException ();
+                       }
+               }
+
+               public virtual SettingsPropertyCollection Properties {
+                       get {
+                               throw new NotImplementedException ();
+                       }
+               }
+
+               public virtual SettingsPropertyValueCollection PropertyValues {
+                       get {
+                               throw new NotImplementedException ();
+                       }
+               }
+
+               public virtual SettingsProviderCollection Providers {
+                       get {
+                               throw new NotImplementedException ();
+                       }
+               }
+       }
+
+}
+
+#endif
diff --git a/mcs/class/System/System.Configuration/SettingsContext.cs b/mcs/class/System/System.Configuration/SettingsContext.cs
new file mode 100644 (file)
index 0000000..2b0f8cf
--- /dev/null
@@ -0,0 +1,43 @@
+//
+// System.Web.UI.WebControls.SettingsPropertyValueCollection.cs
+//
+// Authors:
+//     Chris Toshok (toshok@ximian.com)
+//
+// (C) 2005 Novell, Inc (http://www.novell.com)
+//
+// Permission is hereby granted, free of charge, to any person obtaining
+// a copy of this software and associated documentation files (the
+// "Software"), to deal in the Software without restriction, including
+// without limitation the rights to use, copy, modify, merge, publish,
+// distribute, sublicense, and/or sell copies of the Software, and to
+// permit persons to whom the Software is furnished to do so, subject to
+// the following conditions:
+// 
+// The above copyright notice and this permission notice shall be
+// included in all copies or substantial portions of the Software.
+// 
+// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
+// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
+// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
+// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+//
+
+#if NET_2_0
+using System;
+using System.Collections;
+
+namespace System.Configuration
+{
+
+       [Serializable] 
+       public class SettingsContext : Hashtable
+       {
+       }
+
+}
+
+#endif
diff --git a/mcs/class/System/System.Configuration/SettingsProperty.cs b/mcs/class/System/System.Configuration/SettingsProperty.cs
new file mode 100644 (file)
index 0000000..31c4440
--- /dev/null
@@ -0,0 +1,174 @@
+//
+// System.Web.UI.WebControls.SettingsProperty.cs
+//
+// Authors:
+//     Chris Toshok (toshok@ximian.com)
+//
+// (C) 2005 Novell, Inc (http://www.novell.com)
+//
+// Permission is hereby granted, free of charge, to any person obtaining
+// a copy of this software and associated documentation files (the
+// "Software"), to deal in the Software without restriction, including
+// without limitation the rights to use, copy, modify, merge, publish,
+// distribute, sublicense, and/or sell copies of the Software, and to
+// permit persons to whom the Software is furnished to do so, subject to
+// the following conditions:
+// 
+// The above copyright notice and this permission notice shall be
+// included in all copies or substantial portions of the Software.
+// 
+// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
+// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
+// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
+// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+//
+
+#if NET_2_0
+using System;
+
+namespace System.Configuration
+{
+       public class SettingsProperty
+       {
+               public SettingsProperty (SettingsProperty propertyToCopy)
+                       : this (propertyToCopy.Name,
+                               propertyToCopy.PropertyType,
+                               propertyToCopy.Provider,
+                               propertyToCopy.IsReadOnly,
+                               propertyToCopy.DefaultValue,
+                               propertyToCopy.SerializeAs,
+                               new SettingsAttributeDictionary (propertyToCopy.Attributes),
+                               propertyToCopy.ThrowOnErrorDeserializing,
+                               propertyToCopy.ThrowOnErrorSerializing)
+               {
+               }
+
+               public SettingsProperty (string name)
+                       : this (name,
+                               null,
+                               null,
+                               false,
+                               null,
+                               SettingsSerializeAs.String,
+                               new SettingsAttributeDictionary(),
+                               false,
+                               false)
+               {
+               }
+
+               public SettingsProperty (string name,
+                                        Type propertyType,
+                                        SettingsProvider provider,
+                                        bool isReadOnly,
+                                        object defaultValue,
+                                        SettingsSerializeAs serializeAs,
+                                        SettingsAttributeDictionary attributes,
+                                        bool throwOnErrorDeserializing,
+                                        bool throwOnErrorSerializing)
+               {
+                       this.name = name;
+                       this.propertyType = propertyType;
+                       this.provider = provider;
+                       this.isReadOnly = isReadOnly;
+                       this.defaultValue = defaultValue;
+                       this.serializeAs = serializeAs;
+                       this.attributes = attributes;
+                       this.throwOnErrorDeserializing = throwOnErrorDeserializing;
+                       this.throwOnErrorSerializing = throwOnErrorSerializing;
+               }
+
+               public virtual SettingsAttributeDictionary Attributes {
+                       get {
+                               return attributes;
+                       }
+               }
+
+               public virtual object DefaultValue {
+                       get {
+                               return defaultValue;
+                       }
+                       set {
+                               defaultValue = value;
+                       }
+               }
+
+               public virtual bool IsReadOnly {
+                       get {
+                               return isReadOnly;
+                       }
+                       set {
+                               isReadOnly = value;
+                       }
+               }
+
+               public virtual string Name {
+                       get {
+                               return name;
+                       }
+                       set {
+                               name = value;
+                       }
+               }
+
+               public virtual Type PropertyType {
+                       get {
+                               return propertyType;
+                       }
+                       set {
+                               propertyType = value;
+                       }
+               }
+
+               public virtual SettingsProvider Provider {
+                       get {
+                               return provider;
+                       }
+                       set {
+                               provider = value;
+                       }
+               }
+
+               public virtual SettingsSerializeAs SerializeAs {
+                       get {
+                               return serializeAs;
+                       }
+                       set {
+                               serializeAs = value;
+                       }
+               }
+
+               public bool ThrowOnErrorDeserializing {
+                       get {
+                               return throwOnErrorDeserializing;
+                       }
+                       set {
+                               throwOnErrorDeserializing = value;
+                       }
+               }
+
+               public bool ThrowOnErrorSerializing {
+                       get {
+                               return throwOnErrorSerializing;
+                       }
+                       set {
+                               throwOnErrorSerializing = value;
+                       }
+               }
+
+               string name;
+               Type propertyType;
+               SettingsProvider provider;
+               bool isReadOnly;
+               object defaultValue;
+               SettingsSerializeAs serializeAs;
+               SettingsAttributeDictionary attributes;
+               bool throwOnErrorDeserializing;
+               bool throwOnErrorSerializing;
+       }
+
+}
+
+#endif
diff --git a/mcs/class/System/System.Configuration/SettingsPropertyCollection.cs b/mcs/class/System/System.Configuration/SettingsPropertyCollection.cs
new file mode 100644 (file)
index 0000000..7a38dd4
--- /dev/null
@@ -0,0 +1,130 @@
+//
+// System.Web.UI.WebControls.SettingsPropertyCollection.cs
+//
+// Authors:
+//     Chris Toshok (toshok@ximian.com)
+//
+// (C) 2005 Novell, Inc (http://www.novell.com)
+//
+// Permission is hereby granted, free of charge, to any person obtaining
+// a copy of this software and associated documentation files (the
+// "Software"), to deal in the Software without restriction, including
+// without limitation the rights to use, copy, modify, merge, publish,
+// distribute, sublicense, and/or sell copies of the Software, and to
+// permit persons to whom the Software is furnished to do so, subject to
+// the following conditions:
+// 
+// The above copyright notice and this permission notice shall be
+// included in all copies or substantial portions of the Software.
+// 
+// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
+// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
+// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
+// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+//
+
+#if NET_2_0
+using System;
+using System.Collections;
+using System.Configuration.Provider;
+
+namespace System.Configuration
+{
+
+       public class SettingsPropertyCollection : ICloneable, ICollection, IEnumerable
+       {
+               public SettingsPropertyCollection ()
+               {
+                               throw new NotImplementedException ();
+               }
+
+               public void Add (SettingsProperty property)
+               {
+                               throw new NotImplementedException ();
+               }
+
+               public void Clear ()
+               {
+                               throw new NotImplementedException ();
+               }
+
+               public object Clone ()
+               {
+                               throw new NotImplementedException ();
+               }
+
+               public void CopyTo (Array array, int index)
+               {
+                               throw new NotImplementedException ();
+               }
+
+               public IEnumerator GetEnumerator ()
+               {
+                               throw new NotImplementedException ();
+               }
+
+               public void Remove (string name)
+               {
+                               throw new NotImplementedException ();
+               }
+
+               public void SetReadOnly ()
+               {
+                               throw new NotImplementedException ();
+               }
+
+               protected void OnAdd (SettingsProperty property)
+               {
+               }
+
+               protected void OnAddComplete (SettingsProperty property)
+               {
+               }
+
+               protected void OnClear ()
+               {
+               }
+
+               protected void OnClearComplete ()
+               {
+               }
+
+               protected void OnRemove (SettingsProperty property)
+               {
+               }
+
+               protected void OnRemoveComplete (SettingsProperty property)
+               {
+               }
+
+               public int Count {
+                       get {
+                               throw new NotImplementedException ();
+                       }
+               }
+
+               public bool IsSynchronized {
+                       get {
+                               throw new NotImplementedException ();
+                       }
+               }
+
+               public SettingsProperty this [ string name ] {
+                       get {
+                               throw new NotImplementedException ();
+                       }
+               }
+
+               public object SyncRoot {
+                       get {
+                               throw new NotImplementedException ();
+                       }
+               }
+       }
+
+}
+
+#endif
diff --git a/mcs/class/System/System.Configuration/SettingsPropertyValue.cs b/mcs/class/System/System.Configuration/SettingsPropertyValue.cs
new file mode 100644 (file)
index 0000000..b86e5d0
--- /dev/null
@@ -0,0 +1,99 @@
+//
+// System.Web.UI.WebControls.SettingsPropertyValue.cs
+//
+// Authors:
+//     Chris Toshok (toshok@ximian.com)
+//
+// (C) 2005 Novell, Inc (http://www.novell.com)
+//
+// Permission is hereby granted, free of charge, to any person obtaining
+// a copy of this software and associated documentation files (the
+// "Software"), to deal in the Software without restriction, including
+// without limitation the rights to use, copy, modify, merge, publish,
+// distribute, sublicense, and/or sell copies of the Software, and to
+// permit persons to whom the Software is furnished to do so, subject to
+// the following conditions:
+// 
+// The above copyright notice and this permission notice shall be
+// included in all copies or substantial portions of the Software.
+// 
+// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
+// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
+// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
+// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+//
+
+#if NET_2_0
+using System;
+
+namespace System.Configuration
+{
+
+       public class SettingsPropertyValue
+       {
+               public SettingsPropertyValue (SettingsProperty property)
+               {
+                               throw new NotImplementedException ();
+               }
+
+               public bool Deserialized {
+                       get {
+                               throw new NotImplementedException ();
+                       }
+                       set {
+                               throw new NotImplementedException ();
+                       }
+               }
+
+               public bool IsDirty {
+                       get {
+                               throw new NotImplementedException ();
+                       }
+                       set {
+                               throw new NotImplementedException ();
+                       }
+               }
+
+               public string Name {
+                       get {
+                               throw new NotImplementedException ();
+                       }
+               }
+
+               public SettingsProperty Property {
+                       get {
+                               throw new NotImplementedException ();
+                       }
+               }
+
+               public object PropertyValue {
+                       get {
+                               throw new NotImplementedException ();
+                       }
+                       set {
+                               throw new NotImplementedException ();
+                       }
+               }
+
+               public object SerializedValue {
+                       get {
+                               throw new NotImplementedException ();
+                       }
+                       set {
+                               throw new NotImplementedException ();
+                       }
+               }
+
+               public bool UsingDefaultValue {
+                       get {
+                               throw new NotImplementedException ();
+                       }
+               }
+       }
+
+}
+
+#endif
diff --git a/mcs/class/System/System.Configuration/SettingsPropertyValueCollection.cs b/mcs/class/System/System.Configuration/SettingsPropertyValueCollection.cs
new file mode 100644 (file)
index 0000000..c550bf0
--- /dev/null
@@ -0,0 +1,106 @@
+//
+// System.Web.UI.WebControls.SettingsPropertyValueCollection.cs
+//
+// Authors:
+//     Chris Toshok (toshok@ximian.com)
+//
+// (C) 2005 Novell, Inc (http://www.novell.com)
+//
+// Permission is hereby granted, free of charge, to any person obtaining
+// a copy of this software and associated documentation files (the
+// "Software"), to deal in the Software without restriction, including
+// without limitation the rights to use, copy, modify, merge, publish,
+// distribute, sublicense, and/or sell copies of the Software, and to
+// permit persons to whom the Software is furnished to do so, subject to
+// the following conditions:
+// 
+// The above copyright notice and this permission notice shall be
+// included in all copies or substantial portions of the Software.
+// 
+// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
+// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
+// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
+// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+//
+
+#if NET_2_0
+using System;
+using System.Collections;
+using System.Configuration.Provider;
+
+namespace System.Configuration
+{
+
+       public class SettingsPropertyValueCollection : ICloneable, ICollection, IEnumerable
+       {
+               public SettingsPropertyValueCollection ()
+               {
+                               throw new NotImplementedException ();
+               }
+
+               public void Add (SettingsPropertyValue property)
+               {
+                               throw new NotImplementedException ();
+               }
+
+               public void Clear ()
+               {
+                               throw new NotImplementedException ();
+               }
+
+               public object Clone ()
+               {
+                               throw new NotImplementedException ();
+               }
+
+               public void CopyTo (Array array, int index)
+               {
+                               throw new NotImplementedException ();
+               }
+
+               public IEnumerator GetEnumerator ()
+               {
+                               throw new NotImplementedException ();
+               }
+
+               public void Remove (string name)
+               {
+                               throw new NotImplementedException ();
+               }
+
+               public void SetReadOnly ()
+               {
+                               throw new NotImplementedException ();
+               }
+
+               public int Count {
+                       get {
+                               throw new NotImplementedException ();
+                       }
+               }
+
+               public bool IsSynchronized {
+                       get {
+                               throw new NotImplementedException ();
+                       }
+               }
+
+               public SettingsPropertyValue this [ string name ] {
+                       get {
+                               throw new NotImplementedException ();
+                       }
+               }
+
+               public object SyncRoot {
+                       get {
+                               throw new NotImplementedException ();
+                       }
+               }
+       }
+
+}
+
+#endif
diff --git a/mcs/class/System/System.Configuration/SettingsProvider.cs b/mcs/class/System/System.Configuration/SettingsProvider.cs
new file mode 100644 (file)
index 0000000..3fe34e0
--- /dev/null
@@ -0,0 +1,54 @@
+//
+// System.Web.UI.WebControls.SettingsProvider.cs
+//
+// Authors:
+//     Chris Toshok (toshok@ximian.com)
+//
+// (C) 2005 Novell, Inc (http://www.novell.com)
+//
+// Permission is hereby granted, free of charge, to any person obtaining
+// a copy of this software and associated documentation files (the
+// "Software"), to deal in the Software without restriction, including
+// without limitation the rights to use, copy, modify, merge, publish,
+// distribute, sublicense, and/or sell copies of the Software, and to
+// permit persons to whom the Software is furnished to do so, subject to
+// the following conditions:
+// 
+// The above copyright notice and this permission notice shall be
+// included in all copies or substantial portions of the Software.
+// 
+// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
+// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
+// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
+// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+//
+
+#if NET_2_0
+using System;
+
+using System.Configuration.Provider;
+
+namespace System.Configuration
+{
+
+       public abstract class SettingsProvider : ProviderBase
+       {
+               protected SettingsProvider ()
+               {
+               }
+
+               public abstract SettingsPropertyValueCollection GetPropertyValues (SettingsContext context,
+                                                                                  SettingsPropertyCollection collection);
+
+               public abstract void SetPropertyValues (SettingsContext context,
+                                                       SettingsPropertyValueCollection collection);
+
+               public abstract string ApplicationName { get; set; }
+       }
+
+}
+
+#endif
diff --git a/mcs/class/System/System.Configuration/SettingsProviderCollection.cs b/mcs/class/System/System.Configuration/SettingsProviderCollection.cs
new file mode 100644 (file)
index 0000000..8d9e02a
--- /dev/null
@@ -0,0 +1,55 @@
+//
+// System.Web.UI.WebControls.SettingsProviderCollection.cs
+//
+// Authors:
+//     Chris Toshok (toshok@ximian.com)
+//
+// (C) 2005 Novell, Inc (http://www.novell.com)
+//
+// Permission is hereby granted, free of charge, to any person obtaining
+// a copy of this software and associated documentation files (the
+// "Software"), to deal in the Software without restriction, including
+// without limitation the rights to use, copy, modify, merge, publish,
+// distribute, sublicense, and/or sell copies of the Software, and to
+// permit persons to whom the Software is furnished to do so, subject to
+// the following conditions:
+// 
+// The above copyright notice and this permission notice shall be
+// included in all copies or substantial portions of the Software.
+// 
+// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
+// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
+// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
+// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+//
+
+#if NET_2_0
+using System;
+using System.Configuration.Provider;
+
+namespace System.Configuration
+{
+       public class SettingsProviderCollection : System.Configuration.Provider.ProviderCollection
+       {
+               public SettingsProviderCollection ()
+               {
+                               throw new NotImplementedException ();
+               }
+
+               public override void Add (ProviderBase provider)
+               {
+                               throw new NotImplementedException ();
+               }
+
+               public new SettingsProvider this [ string name ] { 
+                       get {
+                               throw new NotImplementedException ();
+                       }
+               }
+       }
+}
+
+#endif
diff --git a/mcs/class/System/System.Configuration/SettingsSerializeAs.cs b/mcs/class/System/System.Configuration/SettingsSerializeAs.cs
new file mode 100644 (file)
index 0000000..2dc4944
--- /dev/null
@@ -0,0 +1,43 @@
+//
+// System.Web.UI.WebControls.SettingsSerializeAs.cs
+//
+// Authors:
+//     Chris Toshok (toshok@ximian.com)
+//
+// (C) 2005 Novell, Inc (http://www.novell.com)
+//
+// Permission is hereby granted, free of charge, to any person obtaining
+// a copy of this software and associated documentation files (the
+// "Software"), to deal in the Software without restriction, including
+// without limitation the rights to use, copy, modify, merge, publish,
+// distribute, sublicense, and/or sell copies of the Software, and to
+// permit persons to whom the Software is furnished to do so, subject to
+// the following conditions:
+// 
+// The above copyright notice and this permission notice shall be
+// included in all copies or substantial portions of the Software.
+// 
+// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
+// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
+// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
+// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+//
+
+#if NET_2_0
+using System;
+
+namespace System.Configuration
+{
+       public enum SettingsSerializeAs
+       {
+               String = 0,
+               Xml = 1,
+               Binary = 2,
+               ProviderSpecific = 3
+       }
+}
+
+#endif