Changes approved via private email from Marek Habersack <mhabersack@novell.com> on...
[mono.git] / mcs / class / System.Web / System.Web.Configuration_2.0 / HttpModuleAction.cs
index 2be94a227c35fabe1b8af1a5544d3972de6b28f8..5e71b8f5edbfc0e1cc777c95e50b16f016f4f052 100644 (file)
@@ -46,11 +46,11 @@ namespace System.Web.Configuration
 
                static HttpModuleAction ()
                {
-                       nameProp = new ConfigurationProperty ("name", typeof (string), "",
+                       nameProp = new ConfigurationProperty ("name", typeof (string), null,
                                                              TypeDescriptor.GetConverter (typeof (string)),
                                                              PropertyHelper.NonEmptyStringValidator,
                                                              ConfigurationPropertyOptions.IsRequired | ConfigurationPropertyOptions.IsKey);
-                       typeProp = new ConfigurationProperty ("type", typeof (string), "", ConfigurationPropertyOptions.IsRequired);
+                       typeProp = new ConfigurationProperty ("type", typeof (string), "hoho", ConfigurationPropertyOptions.IsRequired);
                        properties = new ConfigurationPropertyCollection ();
                        properties.Add (nameProp);
                        properties.Add (typeProp);
@@ -62,14 +62,12 @@ namespace System.Web.Configuration
                {
                }
 
-               [MonoTODO]
                public HttpModuleAction (string name, string type)
                {
                        this.Name = name;
                        this.Type = type;
                }
 
-               [MonoTODO]
                static void ValidateElement (object o)
                {
                        /* XXX do some sort of element validation here? */
@@ -81,7 +79,7 @@ namespace System.Web.Configuration
 
                [StringValidator (MinLength = 1)]
                [ConfigurationProperty ("name", DefaultValue = "", Options = ConfigurationPropertyOptions.IsRequired | ConfigurationPropertyOptions.IsKey)]
-               public new string Name {
+               public string Name {
                        get { return (string)base[nameProp]; }
                        set { base[nameProp] = value; }
                }