//
// Authors:
// Tim Coleman (tim@timcoleman.com)
+// Chris Toshok (toshok@ximian.com)
//
// Copyright (C) Tim Coleman, 2004
-// (c) 2004 Novell, Inc. (http://www.novell.com)
+// (C) 2004,2005 Novell, Inc. (http://www.novell.com)
//
//
{
#region Fields
- ConfigurationPropertyCollection properties;
- static ConfigurationProperty connectionManagement = new ConfigurationProperty ("ConnectionManagement", typeof (ConnectionManagementElementCollection), new ConnectionManagementElementCollection ());
+ static ConfigurationProperty connectionManagementProp;
+ static ConfigurationPropertyCollection properties;
#endregion // Fields
#region Constructors
- public ConnectionManagementSection ()
+ static ConnectionManagementSection ()
{
+ connectionManagementProp = new ConfigurationProperty ("ConnectionManagement", typeof (ConnectionManagementElementCollection),
+ null, ConfigurationPropertyOptions.IsDefaultCollection);
+
properties = new ConfigurationPropertyCollection ();
- properties.Add (connectionManagement);
+ properties.Add (connectionManagementProp);
+ }
+
+ public ConnectionManagementSection ()
+ {
}
#endregion // Constructors
#region Properties
+ [ConfigurationProperty ("", Options = ConfigurationPropertyOptions.IsDefaultCollection)]
public ConnectionManagementElementCollection ConnectionManagement {
- get { return (ConnectionManagementElementCollection) base [connectionManagement]; }
+ get { return (ConnectionManagementElementCollection) base [connectionManagementProp]; }
}
protected override ConfigurationPropertyCollection Properties {
}
#endregion // Properties
-
- #region Methods
-
- [MonoTODO]
- protected override object GetRuntimeObject ()
- {
- throw new NotImplementedException ();
- }
-
- #endregion // Methods
}
}