2005-11-04 Chris Toshok <toshok@ximian.com>
authorChris Toshok <toshok@novell.com>
Fri, 4 Nov 2005 18:07:41 +0000 (18:07 -0000)
committerChris Toshok <toshok@novell.com>
Fri, 4 Nov 2005 18:07:41 +0000 (18:07 -0000)
* System.Web.dll.sources: add the S.W.C_2.0/HttpModule*.cs files,
and nuke S.W.C_2.0/InternalSection.cs.

* System.Web.Configuration_2.0/SystemWebSectionGroup.cs: enable
the HttpModules property.

* System.Web.Configuration_2.0/HttpHandlerActionCollection.cs:
reindent, and add MonoTODO's.

* System.Web.Configuration_2.0/HttpHandlerAction.cs: use
properties in the ctor, and remove the instance variables.

* System.Web.Configuration_2.0/InternalSection.cs: nuke.

* System.Web.Configuration_2.0/HttpModuleActionCollection.cs: new
stubs.

* System.Web.Configuration_2.0/HttpModuleAction.cs: new stubs.

* System.Web.Configuration_2.0/HttpModulesSection.cs: new stubs.

* System.Web.Configuration_2.0/CompilationSection.cs: inherit from
ConfigurationSection, not InternalSection.

* System.Web.Configuration_2.0/SiteMapSection.cs: same.

* System.Web.Configuration_2.0/PagesSection.cs: same.

* System.Web.Configuration_2.0/MembershipSection.cs: same.

* System.Web.Configuration_2.0/AnonymousIdentificationSection.cs:
same.

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

14 files changed:
mcs/class/System.Web/ChangeLog
mcs/class/System.Web/System.Web.Configuration_2.0/AnonymousIdentificationSection.cs
mcs/class/System.Web/System.Web.Configuration_2.0/CompilationSection.cs
mcs/class/System.Web/System.Web.Configuration_2.0/HttpHandlerAction.cs
mcs/class/System.Web/System.Web.Configuration_2.0/HttpHandlerActionCollection.cs
mcs/class/System.Web/System.Web.Configuration_2.0/HttpModuleAction.cs [new file with mode: 0644]
mcs/class/System.Web/System.Web.Configuration_2.0/HttpModuleActionCollection.cs [new file with mode: 0644]
mcs/class/System.Web/System.Web.Configuration_2.0/HttpModulesSection.cs [new file with mode: 0644]
mcs/class/System.Web/System.Web.Configuration_2.0/InternalSection.cs [deleted file]
mcs/class/System.Web/System.Web.Configuration_2.0/MembershipSection.cs
mcs/class/System.Web/System.Web.Configuration_2.0/PagesSection.cs
mcs/class/System.Web/System.Web.Configuration_2.0/SiteMapSection.cs
mcs/class/System.Web/System.Web.Configuration_2.0/SystemWebSectionGroup.cs
mcs/class/System.Web/System.Web.dll.sources

index 0d206144d43567a94c95bcdc2eb3a307b6a11eb2..f9350de9828ed9a41637c4a72de71e8fd57dcc90 100644 (file)
@@ -1,3 +1,38 @@
+2005-11-04  Chris Toshok  <toshok@ximian.com>
+
+       * System.Web.dll.sources: add the S.W.C_2.0/HttpModule*.cs files,
+       and nuke S.W.C_2.0/InternalSection.cs.
+
+       * System.Web.Configuration_2.0/SystemWebSectionGroup.cs: enable
+       the HttpModules property.
+
+       * System.Web.Configuration_2.0/HttpHandlerActionCollection.cs:
+       reindent, and add MonoTODO's.
+
+       * System.Web.Configuration_2.0/HttpHandlerAction.cs: use
+       properties in the ctor, and remove the instance variables.
+
+       * System.Web.Configuration_2.0/InternalSection.cs: nuke.
+
+       * System.Web.Configuration_2.0/HttpModuleActionCollection.cs: new
+       stubs.
+
+       * System.Web.Configuration_2.0/HttpModuleAction.cs: new stubs.
+
+       * System.Web.Configuration_2.0/HttpModulesSection.cs: new stubs.
+
+       * System.Web.Configuration_2.0/CompilationSection.cs: inherit from
+       ConfigurationSection, not InternalSection.
+
+       * System.Web.Configuration_2.0/SiteMapSection.cs: same.
+
+       * System.Web.Configuration_2.0/PagesSection.cs: same.
+
+       * System.Web.Configuration_2.0/MembershipSection.cs: same.
+
+       * System.Web.Configuration_2.0/AnonymousIdentificationSection.cs:
+       same.
+
 2005-11-02  Chris Toshok  <toshok@ximian.com>
 
        * System.Web.dll.sources: add
index c9c9f8ed886ffffbc0d0510d3a2ecb92202c033d..5694d1cb890a410c589070014dbcfae8b052227f 100644 (file)
@@ -37,9 +37,9 @@ using System.ComponentModel;
 
 namespace System.Web.Configuration
 {
-       public sealed class AnonymousIdentificationSection: InternalSection
+       public sealed class AnonymousIdentificationSection: ConfigurationSection
        {
-/*             static ConfigurationPropertyCollection properties;
+               static ConfigurationPropertyCollection properties;
                static ConfigurationProperty enabledProp;
                static ConfigurationProperty cookieNameProp;
                static ConfigurationProperty cookieTimeoutProp;
@@ -49,13 +49,13 @@ namespace System.Web.Configuration
                static ConfigurationProperty cookieProtectionProp;
                static ConfigurationProperty cookilessProp;
                static ConfigurationProperty domainProp;
-*/
+
                static AnonymousIdentificationSection ()
                {
-/*                     enabledProp = new ConfigurationProperty ("enabled", typeof(bool), false);
-                       cookieNameProp = new NonEmptyStringConfigurationProperty ("cookieName", ".ASPXANONYMOUS", ConfigurationPropertyFlags.None);
-                       cookieTimeoutProp = new TimeSpanConfigurationProperty ("cookieTimeout", new TimeSpan (69,10,40,0), TimeSpanSerializedFormat.Minutes, TimeSpanPropertyFlags.AllowInfinite | TimeSpanPropertyFlags.ProhibitZero, ConfigurationPropertyFlags.None);
-                       cookiePathProp = new NonEmptyStringConfigurationProperty ("cookiePath", "/", ConfigurationPropertyFlags.None);
+                       enabledProp = new ConfigurationProperty ("enabled", typeof(bool), false);
+                       //                      cookieNameProp = new NonEmptyStringConfigurationProperty ("cookieName", ".ASPXANONYMOUS", ConfigurationPropertyFlags.None);
+                       //                      cookieTimeoutProp = new TimeSpanConfigurationProperty ("cookieTimeout", new TimeSpan (69,10,40,0), TimeSpanSerializedFormat.Minutes, TimeSpanPropertyFlags.AllowInfinite | TimeSpanPropertyFlags.ProhibitZero, ConfigurationPropertyFlags.None);
+                       //                      cookiePathProp = new NonEmptyStringConfigurationProperty ("cookiePath", "/", ConfigurationPropertyFlags.None);
                        cookieRequireSSLProp = new ConfigurationProperty ("cookieRequireSSL", typeof(bool), false);
                        cookieSlidingExpirationProp = new ConfigurationProperty ("cookieSlidingExpiration", typeof(bool), true);
                        cookieProtectionProp = new ConfigurationProperty ("cookieProtection", typeof(CookieProtection), CookieProtection.Validation);
@@ -72,70 +72,69 @@ namespace System.Web.Configuration
                        properties.Add (cookieProtectionProp);
                        properties.Add (cookilessProp);
                        properties.Add (domainProp);
-*/             }
+               }
                
-               [ConfigurationProperty ("cookieless", DefaultValue = HttpCookieMode.UseCookies)]\r
+               [ConfigurationProperty ("cookieless", DefaultValue = HttpCookieMode.UseCookies)]
                public HttpCookieMode Cookieless {
                        get { return (HttpCookieMode) base ["cookieless"]; }
                        set { base ["cookieless"] = value; }
                }
                
-           [StringValidator (MaxLength = 1)]\r
-           [ConfigurationProperty ("cookieName", DefaultValue = ".ASPXANONYMOUS")]\r
+               [StringValidator (MinLength = 1)]
+               [ConfigurationProperty ("cookieName", DefaultValue = ".ASPXANONYMOUS")]
                public string CookieName {
                        get { return (string) base ["cookieName"]; }
                        set { base ["cookieName"] = value; }
                }
                
-           [StringValidator (MaxLength = 1)]\r
-           [ConfigurationProperty ("cookiePath", DefaultValue = "/")]\r
+               [StringValidator (MinLength = 1)]
+               [ConfigurationProperty ("cookiePath", DefaultValue = "/")]
                public string CookiePath {
                        get { return (string) base ["cookiePath"]; }
                        set { base ["cookiePath"] = value; }
                }
                
-               [ConfigurationProperty ("cookieProtection", DefaultValue = CookieProtection.Validation)]\r
+               [ConfigurationProperty ("cookieProtection", DefaultValue = CookieProtection.Validation)]
                public CookieProtection CookieProtection {
                        get { return (CookieProtection) base ["cookieProtection"]; }
                        set { base ["cookieProtection"] = value; }
                }
                
-               [ConfigurationProperty ("cookieRequireSSL", DefaultValue = false)]\r
+               [ConfigurationProperty ("cookieRequireSSL", DefaultValue = false)]
                public bool CookieRequireSSL {
                        get { return (bool) base ["cookieRequireSSL"]; }
                        set { base ["cookieRequireSSL"] = value; }
                }
                
-               [ConfigurationProperty ("cookieSlidingExpiration", DefaultValue = true)]\r
+               [ConfigurationProperty ("cookieSlidingExpiration", DefaultValue = true)]
                public bool CookieSlidingExpiration {
                        get { return (bool) base ["cookieSlidingExpiration"]; }
                        set { base ["cookieSlidingExpiration"] = value; }
                }
                
-               [ConfigurationValidator (typeof(PositiveTimeSpanValidator))]\r
-               [TypeConverter (typeof(TimeSpanMinutesOrInfiniteConverter))]\r
-               [ConfigurationProperty ("cookieTimeout", DefaultValue = "69.10:40:00")]\r
+               [TimeSpanValidator ()]
+               [TypeConverter (typeof(TimeSpanMinutesOrInfiniteConverter))]
+               [ConfigurationProperty ("cookieTimeout", DefaultValue = "69.10:40:00")]
                public TimeSpan CookieTimeout {
                        get { return (TimeSpan) base ["cookieTimeout"]; }
                        set { base ["cookieTimeout"] = value; }
                }
                
-               [ConfigurationProperty ("domain", DefaultValue = "")]\r
+               [ConfigurationProperty ("domain")]
                public string Domain {
                        get { return (string) base ["domain"]; }
                        set { base ["domain"] = value; }
                }
                
-           [ConfigurationProperty ("enabled", DefaultValue = false)]\r
+               [ConfigurationProperty ("enabled", DefaultValue = false)]
                public bool Enabled {
                        get { return (bool) base ["enabled"]; }
                        set { base ["enabled"] = value; }
                }
 
-/*             protected override ConfigurationPropertyCollection Properties {
+               protected override ConfigurationPropertyCollection Properties {
                        get { return properties; }
-               }
-*/
+               }               
        }
 }
 
index 5ee0d91195f56124306611295ec8c7bdd6eed789..29e8959893881107b71c5fa079ee5143dd3bc313 100644 (file)
@@ -34,7 +34,7 @@ using System.ComponentModel;
 
 namespace System.Web.Configuration
 {
-       public sealed class CompilationSection : InternalSection
+       public sealed class CompilationSection : ConfigurationSection
        {
                static ConfigurationPropertyCollection props;
                static ConfigurationProperty compilers;
index 7d661b5c79fa82160ed978000bb34f9b4eac711c..0872827329219ca6fcfaff3506444f4fcc952078 100644 (file)
@@ -65,10 +65,10 @@ namespace System.Web.Configuration
 
                public HttpHandlerAction (string path, string type, string verb, bool validate)
                {
-                       this.path = path;
-                       this.type = type;
-                       this.verb = verb;
-                       this.validate = validate;
+                       Path = path;
+                       Type = type;
+                       Verb = verb;
+                       Validate = validate;
                }
 
                [ConfigurationProperty ("path", Options = ConfigurationPropertyOptions.IsRequired | ConfigurationPropertyOptions.IsKey)]
@@ -100,11 +100,6 @@ namespace System.Web.Configuration
                                return _properties;
                        }
                }
-
-               string path;
-               string verb;
-               string type;
-               bool validate;
        }
 
 }
index 30ece79fe0dfbd6c3e44f90fde53cac73cabaee9..826589aac424ec301523fb49d469163e26896f74 100644 (file)
@@ -38,68 +38,81 @@ namespace System.Web.Configuration
        [ConfigurationCollection (typeof (HttpHandlerAction), CollectionType = ConfigurationElementCollectionType.AddRemoveClearMapAlternate)]
        public sealed class HttpHandlerActionCollection : ConfigurationElementCollection
        {
+               [MonoTODO]
                public HttpHandlerActionCollection ()
                {
                }
                        
+               [MonoTODO]
                public void Add (HttpHandlerAction httpHandlerAction)
                {
                }
 
+               [MonoTODO]
                public void Clear ()
                {
                }
 
+               [MonoTODO]
                protected override ConfigurationElement CreateNewElement ()
                {
                        throw new NotImplementedException ();
                }
 
+               [MonoTODO]
                protected override object GetElementKey (ConfigurationElement element)
                {
                        throw new NotImplementedException ();
                }
 
+               [MonoTODO]
                public int IndexOf (HttpHandlerAction action)
                {
                        throw new NotImplementedException ();
                }
 
+               [MonoTODO]
                public void Remove (string verb, string path)
                {
                }
 
+               [MonoTODO]
                public void Remove (HttpHandlerAction action)
                {
                }
 
+               [MonoTODO]
                public void RemoveAt (int index)
                {
                }
 
+               [MonoTODO]
                protected override ConfigurationElementCollectionType CollectionType {
                        get {
-                       throw new NotImplementedException ();
+                               throw new NotImplementedException ();
                        }
                }
 
+               [MonoTODO]
                protected override ConfigurationPropertyCollection Properties {
                        get {
-                       throw new NotImplementedException ();
+                               throw new NotImplementedException ();
                        }
                }
 
+               [MonoTODO]
                public HttpHandlerAction this[int index] {
                        get {
-                       throw new NotImplementedException ();
+                               throw new NotImplementedException ();
                        }
                        set {
                        }
                }
 
+               [MonoTODO]
                protected override bool ThrowOnDuplicate {
                        get {
-                       throw new NotImplementedException ();
+                               throw new NotImplementedException ();
                        }
                }
        }
diff --git a/mcs/class/System.Web/System.Web.Configuration_2.0/HttpModuleAction.cs b/mcs/class/System.Web/System.Web.Configuration_2.0/HttpModuleAction.cs
new file mode 100644 (file)
index 0000000..568d94b
--- /dev/null
@@ -0,0 +1,86 @@
+//
+// System.Web.Configuration.HttpModuleAction
+//
+// 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;
+
+namespace System.Web.Configuration
+{
+       public sealed class HttpModuleAction: ConfigurationElement
+       {
+               static ConfigurationPropertyCollection _properties;
+               static ConfigurationProperty nameProp;
+               static ConfigurationProperty typeProp;
+
+               [MonoTODO]
+               static HttpModuleAction ()
+               {
+                       /* XXX fill in _properties */
+               }
+
+               [MonoTODO]
+               public HttpModuleAction (string name, string type)
+               {
+                       Name = name;
+                       Type = type;
+               }
+#if notyet
+               [MonoTODO]
+               protected override ConfigurationElementProperty ElementProperty {
+                       get {
+                               throw new NotImplementedException ();
+                       }
+               }
+#endif
+
+               [ConfigurationProperty ("name", DefaultValue = "", Options = ConfigurationPropertyOptions.IsRequired | ConfigurationPropertyOptions.IsKey)]
+               [StringValidator (MinLength = 1)]
+               public string Name {
+                       get { return (string)base[nameProp]; }
+                       set { base[nameProp] = value; }
+               }
+
+               [ConfigurationProperty ("type", DefaultValue = "", Options = ConfigurationPropertyOptions.IsRequired)]
+               public string Type {
+                       get { return (string)base[typeProp]; }
+                       set { base[typeProp] = value; }
+               }
+
+               protected override ConfigurationPropertyCollection Properties {
+                       get {
+                               return _properties;
+                       }
+               }
+       }
+}
+
+#endif
diff --git a/mcs/class/System.Web/System.Web.Configuration_2.0/HttpModuleActionCollection.cs b/mcs/class/System.Web/System.Web.Configuration_2.0/HttpModuleActionCollection.cs
new file mode 100644 (file)
index 0000000..8c11740
--- /dev/null
@@ -0,0 +1,113 @@
+//
+// System.Web.Configuration.HttpModuleActionCollection
+//
+// 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;
+
+namespace System.Web.Configuration
+{
+       [ConfigurationCollection (typeof (HttpModuleAction), CollectionType = ConfigurationElementCollectionType.AddRemoveClearMap)]
+       public sealed class HttpModuleActionCollection : ConfigurationElementCollection
+       {
+               [MonoTODO]
+               public HttpModuleActionCollection ()
+               {
+               }
+                       
+               [MonoTODO]
+               public void Add (HttpModuleAction httpModuleAction)
+               {
+               }
+
+               [MonoTODO]
+               public void Clear ()
+               {
+               }
+
+               [MonoTODO]
+               protected override ConfigurationElement CreateNewElement ()
+               {
+                       throw new NotImplementedException ();
+               }
+
+               [MonoTODO]
+               protected override object GetElementKey (ConfigurationElement element)
+               {
+                       throw new NotImplementedException ();
+               }
+
+               [MonoTODO]
+               public int IndexOf (HttpModuleAction action)
+               {
+                       throw new NotImplementedException ();
+               }
+
+               [MonoTODO]
+               public void Remove (string name)
+               {
+               }
+
+               [MonoTODO]
+               public void Remove (HttpModuleAction action)
+               {
+               }
+
+               [MonoTODO]
+               public void RemoveAt (int index)
+               {
+               }
+
+               [MonoTODO]
+               public bool IsElementRemovable (ConfigurationElement element)
+               {
+                       throw new NotImplementedException ();
+               }
+
+               [MonoTODO]
+               protected override ConfigurationPropertyCollection Properties {
+                       get {
+                               throw new NotImplementedException ();
+                       }
+               }
+
+               [MonoTODO]
+               public HttpModuleAction this[int index] {
+                       get {
+                               throw new NotImplementedException ();
+                       }
+                       set {
+                       }
+               }
+       }
+}
+
+#endif
diff --git a/mcs/class/System.Web/System.Web.Configuration_2.0/HttpModulesSection.cs b/mcs/class/System.Web/System.Web.Configuration_2.0/HttpModulesSection.cs
new file mode 100644 (file)
index 0000000..4a1c59f
--- /dev/null
@@ -0,0 +1,61 @@
+//
+// System.Web.Configuration.HttpModulesSection
+//
+// 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;
+
+namespace System.Web.Configuration
+{
+       public sealed class HttpModulesSection: ConfigurationSection
+       {
+               public HttpModulesSection ()
+               {
+               }
+
+               [MonoTODO]
+               [ConfigurationProperty ("", Options = ConfigurationPropertyOptions.IsDefaultCollection)]
+               public HttpModuleActionCollection Modules {
+                       get {
+                               throw new NotImplementedException ();
+                       }
+               }
+
+               [MonoTODO]
+               protected override ConfigurationPropertyCollection Properties {
+                       get {
+                               throw new NotImplementedException ();
+                       }
+               }
+       }
+}
+
+#endif
diff --git a/mcs/class/System.Web/System.Web.Configuration_2.0/InternalSection.cs b/mcs/class/System.Web/System.Web.Configuration_2.0/InternalSection.cs
deleted file mode 100644 (file)
index 9bed4be..0000000
+++ /dev/null
@@ -1,54 +0,0 @@
-//
-// System.Web.Configuration.InternalSection.cs
-//
-// Authors:
-//     Lluis Sanchez Gual (lluis@novell.com)
-//
-// (C) 2004 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;
-
-namespace System.Web.Configuration
-{
-       public class InternalSection: ConfigurationSection
-       {
-               [MonoTODO]
-               protected virtual object GetRuntimeConfig ()
-               {
-                       return null;
-               }
-               
-               [MonoTODO]
-               protected override object GetRuntimeObject ()
-               {
-                       return this;
-               }
-       }
-}
-
-#endif
index 4d73057501494bf63cd3d256116f3431c7b1c2b7..8f87cc6fa3e4a02e0300b5edca631f92bc26ad15 100644 (file)
@@ -37,7 +37,7 @@ using System.ComponentModel;
 
 namespace System.Web.Configuration
 {
-       public sealed class MembershipSection: InternalSection
+       public sealed class MembershipSection: ConfigurationSection
        {
                [StringValidator (MinLength = 1)]
                [ConfigurationProperty ("defaultProvider", DefaultValue = "AspNetSqlMembershipProvider")]
index a213d3a2ef9fd11da6ce7c16cb29731431b077e0..2b84248a339624206231b54f22a31cbdaf2b3508 100644 (file)
@@ -38,7 +38,7 @@ using System.Xml;
 
 namespace System.Web.Configuration
 {
-       public class PagesSection: InternalSection
+       public sealed class PagesSection: ConfigurationSection
        {
                static ConfigurationPropertyCollection properties;
                static ConfigurationProperty asyncTimeoutProp;
index 14891e7823f3eb314049776ea7067803c1486f0f..2ef402912205e3d19a760af81a0288be72aa58d6 100644 (file)
@@ -36,7 +36,7 @@ using System.Web.Security;
 
 namespace System.Web.Configuration
 {
-       public sealed class SiteMapSection: InternalSection
+       public sealed class SiteMapSection: ConfigurationSection
        {
                [ConfigurationProperty ("defaultProvider", DefaultValue = "AspNetXmlSiteMapProvider")]
                public string DefaultProvider {
index 7f77d8f57c51a616061db91c2f9f949268e68ef4..a911073b255936c1978076e3669c9414b584a548 100644 (file)
@@ -118,11 +118,10 @@ namespace System.Web.Configuration
                        get { return (HttpHandlersSection)Sections ["httpHandlers"]; }
                }
 
-#if notyet
+               [ConfigurationProperty ("httpModules")]
                public HttpModulesSection HttpModules {
                        get { return (HttpModulesSection)Sections ["httpModules"]; }
                }
-#endif
 
 #if notyet
                public HttpRuntimeSection HttpRuntime {
index 113e4aaf6f44534b29d00e1b3b865b3c9a076838..de615d4816e9db0eedb8fd216a61582284025d03 100644 (file)
@@ -90,7 +90,9 @@ System.Web.Configuration_2.0/FormsAuthenticationConfiguration.cs
 System.Web.Configuration_2.0/HttpHandlerAction.cs
 System.Web.Configuration_2.0/HttpHandlerActionCollection.cs
 System.Web.Configuration_2.0/HttpHandlersSection.cs
-System.Web.Configuration_2.0/InternalSection.cs
+System.Web.Configuration_2.0/HttpModuleAction.cs
+System.Web.Configuration_2.0/HttpModuleActionCollection.cs
+System.Web.Configuration_2.0/HttpModulesSection.cs
 System.Web.Configuration_2.0/IRemoteWebConfigurationHostServer.cs
 System.Web.Configuration_2.0/MembershipSection.cs
 System.Web.Configuration_2.0/PagesEnableSessionState.cs