ProtectedConfigurationProviderCollection
using System.Configuration.Provider;
namespace System.Configuration
{
public class ProtectedConfigurationProviderCollection : ProviderCollection
{
public new ProtectedConfigurationProvider this[string name] {
get {
return (ProtectedConfigurationProvider)base[name];
}
}
public override void Add(ProviderBase provider)
{
global::<PrivateImplementationDetails>.ThrowIfNull(provider, "provider");
if (!(provider is ProtectedConfigurationProvider))
throw new ArgumentException(System.SR.Format(System.SR.Config_provider_must_implement_type, typeof(ProtectedConfigurationProvider).ToString()), "provider");
base.Add(provider);
}
}
}