Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / Configuration / System / Configuration / ProtectedConfigurationProviderCollection.cs / 1305376 / ProtectedConfigurationProviderCollection.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.Configuration { using System.Collections.Specialized; using System.Runtime.Serialization; using System.Configuration.Provider; using System.Xml; //////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////// public class ProtectedConfigurationProviderCollection : ProviderCollection { public override void Add(ProviderBase provider) { if( provider == null ) { throw new ArgumentNullException( "provider" ); } if( !( provider is ProtectedConfigurationProvider ) ) { throw new ArgumentException(SR.GetString(SR.Config_provider_must_implement_type, typeof(ProtectedConfigurationProvider).ToString()), "provider"); } base.Add( provider ); } new public ProtectedConfigurationProvider this[string name] { get { return (ProtectedConfigurationProvider)base[name]; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- Queue.cs
- NamespaceQuery.cs
- KeyValueConfigurationCollection.cs
- SecurityResources.cs
- CompositionTarget.cs
- LogicalTreeHelper.cs
- ClientSettings.cs
- RemoveFromCollection.cs
- ConfigXmlComment.cs
- TextDpi.cs
- RichTextBoxDesigner.cs
- EnumMemberAttribute.cs
- ButtonPopupAdapter.cs
- PixelFormats.cs
- WasEndpointConfigContainer.cs
- DataGridViewCellParsingEventArgs.cs
- CodeTypeMember.cs
- TrailingSpaceComparer.cs
- WindowsFormsHostAutomationPeer.cs
- XamlRtfConverter.cs
- InputLanguageProfileNotifySink.cs
- XmlArrayItemAttributes.cs
- RichTextBox.cs
- ImageBrush.cs
- SoapEnumAttribute.cs
- QueryableDataSourceHelper.cs
- SerializationAttributes.cs
- DefaultPropertyAttribute.cs
- CharAnimationBase.cs
- SafeFileHandle.cs
- ValidatedMobileControlConverter.cs
- Pens.cs
- _SslSessionsCache.cs
- ProtectedConfiguration.cs
- FieldMetadata.cs
- EditorPartCollection.cs
- WindowsListViewItem.cs
- WebBaseEventKeyComparer.cs
- WeakHashtable.cs
- SoapMessage.cs
- SQLMoney.cs
- DelayedRegex.cs
- ExternalException.cs
- SQLDecimal.cs
- DataControlReference.cs
- XmlAnyAttributeAttribute.cs
- PersistenceException.cs
- SystemIPGlobalProperties.cs
- PropertyRef.cs
- IpcChannel.cs
- securitymgrsite.cs
- AsyncPostBackTrigger.cs
- LOSFormatter.cs
- MruCache.cs
- Literal.cs
- ConfigXmlCDataSection.cs
- DataBinding.cs
- DataGridViewColumnEventArgs.cs
- SortedList.cs
- ProfileWorkflowElement.cs
- SoapAttributeOverrides.cs
- Pair.cs
- ThemeDirectoryCompiler.cs
- CompositeTypefaceMetrics.cs
- WebBrowserHelper.cs
- RawStylusInputCustomDataList.cs
- BasicCellRelation.cs
- DataGridViewTopLeftHeaderCell.cs
- HierarchicalDataBoundControlAdapter.cs
- RuntimeHandles.cs
- Registry.cs
- SchemaName.cs
- CancellationScope.cs
- FormParameter.cs
- BasicDesignerLoader.cs
- MessageFilter.cs
- safex509handles.cs
- BevelBitmapEffect.cs
- MetaType.cs
- ObjectItemCachedAssemblyLoader.cs
- TextEndOfParagraph.cs
- SafeIUnknown.cs
- connectionpool.cs
- SmiRecordBuffer.cs
- Table.cs
- ModelTypeConverter.cs
- CommandField.cs
- TraceInternal.cs
- ConfigurationLockCollection.cs
- DmlSqlGenerator.cs
- RemoteAsymmetricSignatureFormatter.cs
- XmlSchemaException.cs
- Queue.cs
- InOutArgumentConverter.cs
- ProtocolImporter.cs
- ProbeRequestResponseAsyncResult.cs
- MimePart.cs
- ConnectionPoolManager.cs
- ErrorFormatterPage.cs
- DataFormats.cs