public virtual void Add(ProviderBase provider)
{
if (_ReadOnly)
throw new NotSupportedException(SR.GetString(SR.CollectionReadOnly));
if (provider == null)
throw new ArgumentNullException("provider");
if (provider.Name == null || provider.Name.Length < 1)
throw new ArgumentException(SR.GetString(SR.Config_provider_name_null_or_empty));
_Hashtable.Add(provider.Name, provider);
}