46 lines
1.5 KiB
C#
46 lines
1.5 KiB
C#
|
//------------------------------------------------------------------------------
|
||
|
// <copyright file="ProtectedProviderSettings.cs" company="Microsoft">
|
||
|
// Copyright (c) Microsoft Corporation. All rights reserved.
|
||
|
// </copyright>
|
||
|
//------------------------------------------------------------------------------
|
||
|
|
||
|
namespace System.Configuration
|
||
|
{
|
||
|
using System.Collections;
|
||
|
using System.Collections.Specialized;
|
||
|
using System.Xml;
|
||
|
using System.Globalization;
|
||
|
|
||
|
public class ProtectedProviderSettings : ConfigurationElement
|
||
|
{
|
||
|
private ConfigurationPropertyCollection _properties;
|
||
|
private readonly ConfigurationProperty _propProviders =
|
||
|
new ConfigurationProperty(null, typeof(ProviderSettingsCollection), null, ConfigurationPropertyOptions.IsDefaultCollection);
|
||
|
|
||
|
public ProtectedProviderSettings()
|
||
|
{
|
||
|
// Property initialization
|
||
|
_properties = new ConfigurationPropertyCollection();
|
||
|
_properties.Add(_propProviders);
|
||
|
}
|
||
|
|
||
|
protected internal override ConfigurationPropertyCollection Properties
|
||
|
{
|
||
|
get
|
||
|
{
|
||
|
return _properties;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
|
||
|
[ConfigurationProperty("", IsDefaultCollection = true, Options = ConfigurationPropertyOptions.IsDefaultCollection)]
|
||
|
public ProviderSettingsCollection Providers
|
||
|
{
|
||
|
get
|
||
|
{
|
||
|
return (ProviderSettingsCollection)base[_propProviders];
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|