//
// 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)
//
//
// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
//
-#if NET_2_0 && XML_DEP
+#if CONFIGURATION_DEP
using System.Configuration;
{
#region Fields
- ConfigurationPropertyCollection properties;
- static ConfigurationProperty authenticationModules = new ConfigurationProperty ("AuthenticationModules", typeof (AuthenticationModuleElementCollection), new AuthenticationModuleElementCollection ());
+ static ConfigurationPropertyCollection properties;
+ static ConfigurationProperty authenticationModulesProp;
#endregion // Fields
#region Constructors
- public AuthenticationModulesSection ()
+ static AuthenticationModulesSection ()
{
+ authenticationModulesProp = new ConfigurationProperty ("", typeof (AuthenticationModuleElementCollection),
+ null, ConfigurationPropertyOptions.IsDefaultCollection);
+
properties = new ConfigurationPropertyCollection ();
- properties.Add (authenticationModules);
+ properties.Add (authenticationModulesProp);
+ }
+
+ public AuthenticationModulesSection ()
+ {
}
#endregion // Constructors
#region Properties
- protected internal override ConfigurationPropertyCollection Properties {
+ protected override ConfigurationPropertyCollection Properties {
get { return properties; }
}
+ [ConfigurationProperty ("", Options = ConfigurationPropertyOptions.IsDefaultCollection)]
public AuthenticationModuleElementCollection AuthenticationModules {
- get { return (AuthenticationModuleElementCollection) base [authenticationModules]; }
+ get { return (AuthenticationModuleElementCollection) base [authenticationModulesProp]; }
}
#endregion // Properties
#region Methods
[MonoTODO]
- protected internal override object GetRuntimeObject ()
+ protected override void PostDeserialize ()
{
- throw new NotImplementedException ();
}
[MonoTODO]
- protected internal override void InitializeDefault ()
+ protected override void InitializeDefault ()
{
- throw new NotImplementedException ();
}
#endregion // Methods