// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
//
-#if NET_2_0
using System;
using System.Configuration;
[ConfigurationCollection (typeof (HttpModuleAction), CollectionType = ConfigurationElementCollectionType.AddRemoveClearMap)]
public sealed class HttpModuleActionCollection : ConfigurationElementCollection
{
+ static ConfigurationPropertyCollection properties;
+
+ static HttpModuleActionCollection ()
+ {
+ properties = new ConfigurationPropertyCollection ();
+ }
+
public HttpModuleActionCollection ()
{
}
- [MonoTODO]
public void Add (HttpModuleAction httpModuleAction)
{
BaseAdd (httpModuleAction);
BaseClear ();
}
- [MonoTODO]
protected override ConfigurationElement CreateNewElement ()
{
- return new HttpModuleAction("", "");
+ return new HttpModuleAction ();
}
protected override object GetElementKey (ConfigurationElement element)
BaseRemoveAt (index);
}
- [MonoTODO]
protected override bool IsElementRemovable (ConfigurationElement element)
{
return base.IsElementRemovable (element);
}
- [MonoTODO]
- protected override ConfigurationPropertyCollection Properties {
- get {
- throw new NotImplementedException ();
- }
+ protected internal override ConfigurationPropertyCollection Properties {
+ get { return properties; }
}
public HttpModuleAction this[int index] {
}
}
-#endif